mongodb image now needs root password

This commit is contained in:
Absurdon 2023-02-10 20:18:28 +01:00
parent f5fcb36a28
commit 12c2e8fe69
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ services:
- "./public:/app/public"
init: true
mongodb:
image: "bitnami/mongodb:latest"
image: "bitnami/mongodb:4.4"
container_name: ensl_gather_mongodb
volumes:
- "./db/data:/bitnami/mongodb"
@ -36,3 +36,4 @@ services:
- MONGODB_USERNAME
- MONGODB_PASSWORD
- MONGODB_DATABASE
- MONGODB_ROOT_PASSWORD=$MONGODB_PASSWORD