✨ added mongo credentials
This commit is contained in:
parent
aaf04367e6
commit
147ff33530
@ -656,6 +656,9 @@ services:
|
|||||||
build: ./mongo
|
build: ./mongo
|
||||||
ports:
|
ports:
|
||||||
- "${MONGODB_PORT}:27017"
|
- "${MONGODB_PORT}:27017"
|
||||||
|
environment:
|
||||||
|
- MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME}
|
||||||
|
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DATA_PATH_HOST}/mongo:/data/db
|
- ${DATA_PATH_HOST}/mongo:/data/db
|
||||||
- ${DATA_PATH_HOST}/mongo_config:/data/configdb
|
- ${DATA_PATH_HOST}/mongo_config:/data/configdb
|
||||||
|
Loading…
Reference in New Issue
Block a user