mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-08-15 00:10:44 +02:00
feat: add optional MongoDB replica deployment (#765)
This commit is contained in:
+2
-2
@@ -79,7 +79,7 @@ services:
|
||||
retries: 5
|
||||
|
||||
mongodb:
|
||||
image: mongo:latest
|
||||
image: ${MONGO_IMAGE:-mongo:latest}
|
||||
restart: on-failure
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: $DB_USERNAME
|
||||
@@ -87,7 +87,7 @@ services:
|
||||
volumes:
|
||||
- mongodb_data_container:/data/db
|
||||
ports:
|
||||
- 127.0.0.1:27017:27017
|
||||
- ${MONGO_BIND_ADDRESS:-127.0.0.1}:27017:27017
|
||||
command: --quiet
|
||||
healthcheck:
|
||||
test:
|
||||
|
||||
Reference in New Issue
Block a user