version:'2.2' services: sharelatex: restart:always # Server Pro users: # image: quay.io/sharelatex/sharelatex-pro image:sharelatex/sharelatex container_name:sharelatex depends_on: mongo: condition:service_healthy redis: condition:service_started ports: -8080:80 links: -mongo -redis volumes: -~/sharelatex_data:/var/lib/sharelatex ######################################################################## #### Server Pro: Uncomment the following line to mount the docker #### #### socket, required for Sibling Containers to work #### ######################################################################## # - /var/run/docker.sock:/var/run/docker.sock environment:
SHARELATEX_APP_NAME:OverleafCommunityEdition
SHARELATEX_MONGO_URL:mongodb://mongo/sharelatex
# Same property, unfortunately with different names in # different locations SHARELATEX_REDIS_HOST:redis REDIS_HOST:redis
ENABLED_LINKED_FILE_TYPES:'url,project_file'
# Enables Thumbnail generation using ImageMagick ENABLE_CONVERSIONS:'true'
# SHARELATEX_LEFT_FOOTER: '[{"text": "Powered by <a href=\"https://www.sharelatex.com\">ShareLaTeX</a> 2016"},{"text": "Another page I want to link to can be found <a href=\"here\">here</a>"} ]' # SHARELATEX_RIGHT_FOOTER: '[{"text": "Hello I am on the Right"} ]'
# See https://github.com/jwilder/nginx-proxy for documentation on how to configure the nginx-proxy container, # and https://github.com/overleaf/overleaf/wiki/HTTPS-reverse-proxy-using-Nginx for an example of some recommended # settings. We recommend using a properly managed nginx instance outside of the Overleaf Server Pro setup, # but the example here can be used if you'd prefer to run everything with docker-compose