mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-25 12:01:03 +00:00
Update docker-compose
This commit is contained in:
parent
b25f45d3d3
commit
7cf4636a1c
2 changed files with 3 additions and 2 deletions
|
@ -18,7 +18,7 @@ PRODUCTION_ROOT_DOMAIN=ensl.org
|
|||
PRODUCTION_DOMAIN=www.ensl.org
|
||||
PRODUCTION_PORT=80
|
||||
PRODUCTION_PORT_SSL=443
|
||||
PRODUCTION_NGINX_PATH=/var/www
|
||||
PRODUCTION_NGINX_PUBLIC=/var/www
|
||||
|
||||
MYSQL_DATABASE=ensl
|
||||
MYSQL_CONNECTION_POOL=48
|
||||
|
|
|
@ -157,7 +157,7 @@ services:
|
|||
command: /bin/bash -c "cat /etc/nginx/conf.d/ensl_production/*.conf.template|envsubst '$$PRODUCTION_PUMA_PORT $$PRODUCTION_ROOT_DOMAIN $$PRODUCTION_DOMAIN $$PRODUCTION_PORT $$PRODUCTION_PORT_SSL $$PUMA_PORT $$APP_PATH $$APP_PATH_PUBLIC $$STAGING_ROOT_DOMAIN $$STAGING_DOMAIN $$STAGING_PORT $$STAGING_PORT_SSL' > /etc/nginx/conf.d/default.conf && cat /etc/nginx/conf.d/*.conf && nginx -g 'daemon off;'"
|
||||
# TODO: use env vars here
|
||||
volumes:
|
||||
- ../../ensl/ensl.org/ext/ssl:/etc/ssl/ensl
|
||||
- ../../ensl/ensl.org/ext/ssl:/etc/ssl
|
||||
- ../../ensl/ensl.org/public:/var/www/public
|
||||
- ../../ensl/ensl.org/ext/nginx.conf.d:/etc/nginx/conf.d/ensl_production
|
||||
- ../../ensl/ensl.org.staging/ext/nginx.conf.d:/etc/nginx/conf.d/ensl_staging
|
||||
|
@ -173,6 +173,7 @@ services:
|
|||
- PRODUCTION_DOMAIN=$PRODUCTION_DOMAIN
|
||||
- PRODUCTION_PORT=$PRODUCTION_PORT
|
||||
- PRODUCTION_PORT_SSL=$PRODUCTION_PORT_SSL
|
||||
- PRODUCTION_NGINX_PUBLIC=$PRODUCTION_NGINX_PUBLIC
|
||||
- STAGING_PUMA_PORT=$STAGING_PUMA_PORT
|
||||
- STAGING_ROOT_DOMAIN=$STAGING_ROOT_DOMAIN
|
||||
- STAGING_DOMAIN=$STAGING_DOMAIN
|
||||
|
|
Loading…
Reference in a new issue