From 03bfbe8d44ad43f173731a0f9d4af55871910f12 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 18 Jul 2016 16:11:04 +0100 Subject: [PATCH] Update docker-compose.yml --- server-ce/docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/server-ce/docker-compose.yml b/server-ce/docker-compose.yml index ca6dd4f532..07db7756a9 100644 --- a/server-ce/docker-compose.yml +++ b/server-ce/docker-compose.yml @@ -19,6 +19,9 @@ services: SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex SHARELATEX_REDIS_HOST: redis SHARELATEX_APP_NAME: 'Our ShareLaTeX' + + #Set for SSL via nginx-proxy + #VIRTUAL_HOST: 103.112.212.22 # SHARELATEX_SITE_URL: "http://sharelatex.mydomain.com" # SHARELATEX_NAV_TITLE: "Our ShareLaTeX Instance" @@ -84,3 +87,13 @@ services: - 6379 volumes: - ~/redis_data:/data + +# nginx-proxy: +# image: jwilder/nginx-proxy +# container_name: nginx-proxy +# ports: +# #- "80:80" +# - "443:443" +# volumes: +# - /var/run/docker.sock:/tmp/docker.sock:ro +# - /home/sharelatex/tmp:/etc/nginx/certs