Updated docker-compose.yml with new and missing properties for ServerPro 2.0 (#632)

This commit is contained in:
Miguel Serrano 2019-09-06 10:47:14 +02:00 committed by GitHub
parent 34b01f94e4
commit e5dacbdc74

View file

@ -17,9 +17,17 @@ services:
- ~/sharelatex_data:/var/lib/sharelatex - ~/sharelatex_data:/var/lib/sharelatex
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
SHARELATEX_APP_NAME: Overleaf Community Edition
SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex SHARELATEX_MONGO_URL: mongodb://mongo/sharelatex
# Same property, unfortunately with different names in
# different locations
SHARELATEX_REDIS_HOST: redis SHARELATEX_REDIS_HOST: redis
SHARELATEX_APP_NAME: Our ShareLaTeX REDIS_HOST: redis
ENABLED_LINKED_FILE_TYPES: 'url,project_file'
## Set for SSL via nginx-proxy ## Set for SSL via nginx-proxy
#VIRTUAL_HOST: 103.112.212.22 #VIRTUAL_HOST: 103.112.212.22
@ -55,6 +63,8 @@ services:
# SANDBOXED_COMPILES_SIBLING_CONTAINERS: 'true' # SANDBOXED_COMPILES_SIBLING_CONTAINERS: 'true'
# SANDBOXED_COMPILES_HOST_DIR: '/var/clsi/compiles' # SANDBOXED_COMPILES_HOST_DIR: '/var/clsi/compiles'
# DOCKER_RUNNER: 'false'
## Works with test LDAP server shown at bottom of docker compose ## Works with test LDAP server shown at bottom of docker compose
# SHARELATEX_LDAP_URL: 'ldap://ldap:389' # SHARELATEX_LDAP_URL: 'ldap://ldap:389'
# SHARELATEX_LDAP_SEARCH_BASE: 'ou=people,dc=planetexpress,dc=com' # SHARELATEX_LDAP_SEARCH_BASE: 'ou=people,dc=planetexpress,dc=com'
@ -67,6 +77,8 @@ services:
# SHARELATEX_LDAP_UPDATE_USER_DETAILS_ON_LOGIN: 'true' # SHARELATEX_LDAP_UPDATE_USER_DETAILS_ON_LOGIN: 'true'
# SHARELATEX_TEMPLATES_USER_ID: "578773160210479700917ee5" # SHARELATEX_TEMPLATES_USER_ID: "578773160210479700917ee5"
# SHARELATEX_NEW_PROJECT_TEMPLATE_LINKS: '[ {"name":"All Templates","url":"/templates/all"}]'
# SHARELATEX_PROXY_LEARN: "true" # SHARELATEX_PROXY_LEARN: "true"