From 6a84350961c1c2fb016c2b614f994ed6d4fdb88d Mon Sep 17 00:00:00 2001 From: Marco Kundt Date: Tue, 4 May 2021 14:14:46 +0200 Subject: [PATCH] adding domain variable --- env.example | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/env.example b/env.example index f8a2fb3..70e17ef 100644 --- a/env.example +++ b/env.example @@ -1,3 +1,6 @@ +# Domain of service +DOMAIN=mm.example.com + # Container settings ## Timezone inside the containers. The value needs to be in the form 'Europe/Berlin'. ## A list of these tz database names can be looked up at Wikipedia @@ -34,8 +37,8 @@ NGINX_DHPARAMS_FILE=./nginx/dhparams4096.pem CERT_PATH=./volumes/web/cert/cert.pem KEY_PATH=./volumes/web/cert/key-no-password.pem -#CERT_PATH=./certs/etc/letsencrypt/live/mm.example.com/fullchain.pem -#KEY_PATH=./certs/etc/letsencrypt/live/mm.example.com/privkey.pem +#CERT_PATH=./certs/etc/letsencrypt/live/${DOMAIN}/fullchain.pem +#KEY_PATH=./certs/etc/letsencrypt/live/${DOMAIN}/privkey.pem ## Exposed ports to the host. Inside the container 80 and 443 will be used HTTPS_PORT=443 @@ -68,4 +71,4 @@ MM_SQLSETTINGS_DRIVERNAME=postgres MM_SQLSETTINGS_DATASOURCE=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@postgres:5432/${POSTGRES_DB}?sslmode=disable&connect_timeout=10 ## Example settings (any additional setting added here also needs to be introduced in the docker-compose.yml) -MM_SERVICESETTINGS_SITEURL=https://mm.example.com +MM_SERVICESETTINGS_SITEURL=https://{DOMAIN}