diff --git a/databases.yaml b/databases.yaml index 1a8b062..e2eb1d8 100644 --- a/databases.yaml +++ b/databases.yaml @@ -44,6 +44,9 @@ services: environment: MONGO_INITDB_ROOT_USERNAME: $MONGO_USER MONGO_INITDB_ROOT_PASSWORD: $MONGO_PASS + volumes: + - /dockers/mongo/data:/data/db + - /dockers/init-mongo.js:/docker-entrypoint-initdb.d/init-mongo.js:ro mongo-express: image: mongo-express