Update sharelatex-compose.yml
This commit is contained in:
parent
a7899575a8
commit
a81b48919c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue