From f0c2723f21efb40d680a4f33063a389ad5fc5e3d 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 --- docker-compose.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ca6dd4f532..07db7756a9 100644 --- a/docker-compose.yml +++ b/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