Update sharelatex-compose.yml

This commit is contained in:
wuhanstudio 2024-04-16 11:36:53 +00:00
parent a7899575a8
commit a81b48919c
1 changed files with 9 additions and 3 deletions

View File

@ -110,9 +110,14 @@ services:
mongo:
restart: always
image: mongo:4.0
# expose:
# - 27017
image: bitnami/mongodb:5.0
# image: mongo:4.4
# container_name: mongo
environment:
MONGODB_REPLICA_SET_MODE: primary
ALLOW_EMPTY_PASSWORD: 'yes'
expose:
- 27017
volumes:
- ../sharelatex_data/mongo_data:/data/db
healthcheck:
@ -122,6 +127,7 @@ services:
retries: 5
networks:
- traefik-public
redis:
restart: always
image: redis:5