Update docker-compose.yml

This commit is contained in:
Henry Oswald 2016-07-18 16:11:04 +01:00 committed by GitHub
parent e35303decf
commit 03bfbe8d44

View file

@ -20,6 +20,9 @@ services:
SHARELATEX_REDIS_HOST: redis SHARELATEX_REDIS_HOST: redis
SHARELATEX_APP_NAME: 'Our ShareLaTeX' 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_SITE_URL: "http://sharelatex.mydomain.com"
# SHARELATEX_NAV_TITLE: "Our ShareLaTeX Instance" # SHARELATEX_NAV_TITLE: "Our ShareLaTeX Instance"
# SHARELATEX_HEADER_IMAGE_URL: "http://somewhere.com/mylogo.png" # SHARELATEX_HEADER_IMAGE_URL: "http://somewhere.com/mylogo.png"
@ -84,3 +87,13 @@ services:
- 6379 - 6379
volumes: volumes:
- ~/redis_data:/data - ~/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