forked from mirrors/mattermost-docker
adding domain variable
This commit is contained in:
parent
b66be7953d
commit
6a84350961
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user