Update docker-compose.yml

This commit is contained in:
Henry Oswald 2016-07-18 16:11:04 +01:00 committed by GitHub
parent 030e91a365
commit f0c2723f21

View file

@ -19,6 +19,9 @@ services:
SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
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"
@ -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