mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-26 12:30:48 +00:00
Update docker-compose
This commit is contained in:
parent
fa164a7afc
commit
85468b68d6
1 changed files with 5 additions and 5 deletions
|
@ -157,11 +157,11 @@ 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 $$PRODUCTION_NGINX_PUBLIC $$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;'"
|
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 $$PRODUCTION_NGINX_PUBLIC $$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
|
# TODO: use env vars here
|
||||||
volumes:
|
volumes:
|
||||||
- ../../ensl/ensl.org/ext/ssl:/etc/ssl
|
- ext/ssl:/etc/ssl
|
||||||
- ../../ensl/ensl.org/public:/var/www/public
|
- public/:/var/www
|
||||||
- ../../ensl/ensl.org/ext/nginx.conf.d:/etc/nginx/conf.d/ensl_production
|
- ext/nginx.conf.d:/etc/nginx/conf.d/ensl_production
|
||||||
- ../../ensl/ensl.org.staging/ext/nginx.conf.d:/etc/nginx/conf.d/ensl_staging
|
- ext/nginx.conf.d:/etc/nginx/conf.d/ensl_staging
|
||||||
- ../../ensl/ensl.org.staging/app/public:/var/staging/public
|
- ../ensl.org.staging/app/public:/var/staging/public
|
||||||
# TODO: use env vars here
|
# TODO: use env vars here
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- 80:80
|
||||||
|
|
Loading…
Reference in a new issue