Update sharelatex-compose.yml
This commit is contained in:
parent
a7899575a8
commit
a81b48919c
|
|
@ -110,9 +110,14 @@ services:
|
||||||
|
|
||||||
mongo:
|
mongo:
|
||||||
restart: always
|
restart: always
|
||||||
image: mongo:4.0
|
image: bitnami/mongodb:5.0
|
||||||
# expose:
|
# image: mongo:4.4
|
||||||
# - 27017
|
# container_name: mongo
|
||||||
|
environment:
|
||||||
|
MONGODB_REPLICA_SET_MODE: primary
|
||||||
|
ALLOW_EMPTY_PASSWORD: 'yes'
|
||||||
|
expose:
|
||||||
|
- 27017
|
||||||
volumes:
|
volumes:
|
||||||
- ../sharelatex_data/mongo_data:/data/db
|
- ../sharelatex_data/mongo_data:/data/db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|
@ -122,6 +127,7 @@ services:
|
||||||
retries: 5
|
retries: 5
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
restart: always
|
restart: always
|
||||||
image: redis:5
|
image: redis:5
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue