Merge pull request #667 from overleaf/ShaneKilkelly-patch-1

Update docker-compose.yml
This commit is contained in:
Shane Kilkelly 2019-11-22 14:24:12 +00:00 committed by GitHub
commit 54f444e0ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,12 +119,18 @@ services:
# container_name: ldap # container_name: ldap
# expose: # expose:
# - 389 # - 389
# nginx-proxy:
# image: jwilder/nginx-proxy # See https://github.com/jwilder/nginx-proxy for documentation on how to configure the nginx-proxy container,
# container_name: nginx-proxy # and https://github.com/overleaf/overleaf/wiki/HTTPS-reverse-proxy-using-Nginx for an example of some recommended
# ports: # settings. We recommend using a properly managed nginx instance outside of the Overleaf Server Pro setup,
# #- "80:80" # but the example here can be used if you'd prefer to run everything with docker-compose
# - "443:443"
# volumes: # nginx-proxy:
# - /var/run/docker.sock:/tmp/docker.sock:ro # image: jwilder/nginx-proxy
# - /home/sharelatex/tmp:/etc/nginx/certs # container_name: nginx-proxy
# ports:
# #- "80:80"
# - "443:443"
# volumes:
# - /var/run/docker.sock:/tmp/docker.sock:ro
# - /home/sharelatex/tmp:/etc/nginx/certs