From 85468b68d67ce3ae2ec2423dd11c4110e862df91 Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Sat, 10 Oct 2020 00:16:00 +0300 Subject: [PATCH] Update docker-compose --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3f34926..9f99926 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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;'" # TODO: use env vars here volumes: - - ../../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 - - ../../ensl/ensl.org.staging/app/public:/var/staging/public + - ext/ssl:/etc/ssl + - public/:/var/www + - ext/nginx.conf.d:/etc/nginx/conf.d/ensl_production + - ext/nginx.conf.d:/etc/nginx/conf.d/ensl_staging + - ../ensl.org.staging/app/public:/var/staging/public # TODO: use env vars here ports: - 80:80