change overleaf container names

closes #23
This commit is contained in:
Pim Kunis 2023-04-16 12:15:39 +02:00
parent 58aeaacc67
commit aa0987593e

View file

@ -10,18 +10,18 @@ services:
sharelatex: sharelatex:
restart: always restart: always
image: sharelatex/sharelatex image: sharelatex/sharelatex
container_name: sharelatex container_name: overleaf
networks: networks:
- traefik - traefik
- internal - internal
depends_on: depends_on:
mongo: overleaf-mongodb:
condition: service_healthy condition: service_healthy
redis: overleaf-redis:
condition: service_started condition: service_started
links: links:
- mongo - overleaf-mongodb
- redis - overleaf-redis
stop_grace_period: 60s stop_grace_period: 60s
volumes: volumes:
- {{ data_dir }}/overleaf/sharelatex_data:/var/lib/sharelatex - {{ data_dir }}/overleaf/sharelatex_data:/var/lib/sharelatex
@ -37,12 +37,12 @@ services:
environment: environment:
SHARELATEX_APP_NAME: Overleaf Community Edition SHARELATEX_APP_NAME: Overleaf Community Edition
SHARELATEX_MONGO_URL: mongodb://mongo:27017/sharelatex SHARELATEX_MONGO_URL: mongodb://overleaf-mongodb:27017/sharelatex
# Same property, unfortunately with different names in # Same property, unfortunately with different names in
# different locations # different locations
SHARELATEX_REDIS_HOST: redis SHARELATEX_REDIS_HOST: overleaf-redis
REDIS_HOST: redis REDIS_HOST: overleaf-redis
ENABLED_LINKED_FILE_TYPES: 'project_file,project_output_file' ENABLED_LINKED_FILE_TYPES: 'project_file,project_output_file'
@ -79,10 +79,10 @@ services:
# SHARELATEX_EMAIL_SMTP_LOGGER: true # SHARELATEX_EMAIL_SMTP_LOGGER: true
# SHARELATEX_CUSTOM_EMAIL_FOOTER: "This system is run by department x" # SHARELATEX_CUSTOM_EMAIL_FOOTER: "This system is run by department x"
mongo: overleaf-mongodb:
restart: always restart: always
image: mongo:4.4 image: mongo:4.4
container_name: mongo container_name: overleaf-mongodb
networks: networks:
- internal - internal
expose: expose:
@ -95,10 +95,10 @@ services:
timeout: 10s timeout: 10s
retries: 5 retries: 5
redis: overleaf-redis:
restart: always restart: always
image: redis:5 image: redis:5
container_name: redis container_name: overleaf-redis
networks: networks:
- internal - internal
expose: expose: