forked from mirrors/mattermost-docker
use path to nginx config instead of config file itself
This commit is contained in:
parent
d09edec595
commit
848d38c88c
@ -10,7 +10,7 @@ services:
|
||||
image: nginx:${NGINX_IMAGE_TAG}
|
||||
restart: ${RESTART_POLICY}
|
||||
volumes:
|
||||
- ${NGINX_MATTERMOST_CONFIG}:/etc/nginx/conf.d/mattermost.conf:ro
|
||||
- ${NGINX_CONFIG_PATH}:/etc/nginx/conf.d:ro
|
||||
- ${NGINX_DHPARAMS_FILE}:/dhparams4096.pem
|
||||
- ${CERT_PATH}:/cert.pem:ro
|
||||
- ${KEY_PATH}:/key.pem:ro
|
||||
|
@ -28,7 +28,8 @@ POSTGRES_DB=mattermost
|
||||
## `sudo chown -R 101:101 ./nginx` if needed.
|
||||
NGINX_IMAGE_TAG=alpine
|
||||
|
||||
NGINX_MATTERMOST_CONFIG=./nginx/mattermost.conf
|
||||
## The folder containing server blocks and any additional config to nginx.conf
|
||||
NGINX_CONFIG_PATH=./nginx/conf.d
|
||||
NGINX_DHPARAMS_FILE=./nginx/dhparams4096.pem
|
||||
|
||||
CERT_PATH=./volumes/web/cert/cert.pem
|
||||
|
Loading…
Reference in New Issue
Block a user