mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-27 11:40:57 +00:00
Update to use catpack network
This commit is contained in:
parent
977d64e579
commit
5fab5f84a3
1 changed files with 9 additions and 4 deletions
|
@ -157,10 +157,10 @@ services:
|
||||||
command: /bin/bash -c "cat /etc/nginx/conf.d/ensl_production/prod*.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/prod*.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:
|
||||||
- ext/ssl:/etc/ssl
|
- ./ext/ssl:/etc/ssl
|
||||||
- public/:/var/www
|
- ./public/:/var/www
|
||||||
- ext/nginx.conf.d:/etc/nginx/conf.d/ensl_production
|
- ./ext/nginx.conf.d:/etc/nginx/conf.d/ensl_production
|
||||||
- ext/nginx.conf.d:/etc/nginx/conf.d/ensl_staging
|
- ./ext/nginx.conf.d:/etc/nginx/conf.d/ensl_staging
|
||||||
- ../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:
|
||||||
|
@ -195,3 +195,8 @@ services:
|
||||||
# commands, but it is necessary for "spring status" and "spring stop"
|
# commands, but it is necessary for "spring status" and "spring stop"
|
||||||
# to work properly.
|
# to work properly.
|
||||||
# pid: host
|
# pid: host
|
||||||
|
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
external:
|
||||||
|
name: catpack_docker
|
||||||
|
|
Loading…
Reference in a new issue