From bb4d2a9feab70ec4560f49c691ad7e4a8a0469e7 Mon Sep 17 00:00:00 2001 From: Jan Conen Date: Sat, 19 Jul 2025 17:56:52 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D(self-hosted)=20default.conf.te?= =?UTF-8?q?mplate=20when=20using=20nginx-proxy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add step to copy default.conf.template hen using nginx-proxy. Signed-off-by: Jan Conen --- docs/installation/compose.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/installation/compose.md b/docs/installation/compose.md index c379f76882..a0a65a8fd6 100644 --- a/docs/installation/compose.md +++ b/docs/installation/compose.md @@ -39,6 +39,11 @@ curl -o env.d/yprovider https://raw.githubusercontent.com/suitenumerique/docs/re curl -o env.d/postgresql https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/env.d/production.dist/postgresql ``` +If you are using the sample nginx-proxy configuration: +```bash +curl -o default.conf.template https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docker/files/production/etc/nginx/conf.d/default.conf.template +``` + ## Step 2: Configuration Docs configuration is achieved through environment variables. We provide a [detailed description of all variables](../env.md). From 886dcb75d548feeaeac72923a468668811efb05b Mon Sep 17 00:00:00 2001 From: Jan Conen Date: Sat, 19 Jul 2025 18:04:20 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D(self-hosted)=20commands=20copy?= =?UTF-8?q?-pastable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make bash commands copy-pastable by prepending the foldername to the commands. Signed-off-by: Jan Conen --- docs/examples/compose/keycloak/README.md | 6 +++--- docs/examples/compose/minio/README.md | 2 +- docs/examples/compose/nginx-proxy/README.md | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/examples/compose/keycloak/README.md b/docs/examples/compose/keycloak/README.md index 8993d97009..5f205b023a 100644 --- a/docs/examples/compose/keycloak/README.md +++ b/docs/examples/compose/keycloak/README.md @@ -9,9 +9,9 @@ ```bash mkdir keycloak -curl -o compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docs/examples/compose/keycloak/compose.yaml -curl -o env.d/kc_postgresql https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/env.d/production.dist/kc_postgresql -curl -o env.d/keycloak https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/env.d/production.dist/keycloak +curl -o keycloak/compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docs/examples/compose/keycloak/compose.yaml +curl -o keycloak/env.d/kc_postgresql https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/env.d/production.dist/kc_postgresql +curl -o keycloak/env.d/keycloak https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/env.d/production.dist/keycloak ``` ### Step 2:. Update `env.d/` files diff --git a/docs/examples/compose/minio/README.md b/docs/examples/compose/minio/README.md index e2db985f29..46a16895c6 100644 --- a/docs/examples/compose/minio/README.md +++ b/docs/examples/compose/minio/README.md @@ -9,7 +9,7 @@ ```bash mkdir minio -curl -o compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docs/examples/compose/minio/compose.yaml +curl -o minio/compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docs/examples/compose/minio/compose.yaml ``` ### Step 2:. Update compose file with your own values diff --git a/docs/examples/compose/nginx-proxy/README.md b/docs/examples/compose/nginx-proxy/README.md index 3d04e84a9b..ad2acd611d 100644 --- a/docs/examples/compose/nginx-proxy/README.md +++ b/docs/examples/compose/nginx-proxy/README.md @@ -13,7 +13,7 @@ Acme-companion is a lightweight companion container for nginx-proxy. It handles ```bash mkdir nginx-proxy -curl -o compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docs/examples/compose/nginx-proxy/compose.yaml +curl -o nginx-proxy/compose.yaml https://raw.githubusercontent.com/suitenumerique/docs/refs/heads/main/docs/examples/compose/nginx-proxy/compose.yaml ``` ### Step 2: Edit `DEFAULT_EMAIL` in the compose file.