Make root/example default DB user in development

This commit is contained in:
Tuan Dang
2023-03-16 16:44:47 +07:00
parent 3ac98ba326
commit 3d818f953d

View File

@@ -81,9 +81,9 @@ services:
- mongo - mongo
env_file: .env env_file: .env
environment: environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=${MONGO_USERNAME} - ME_CONFIG_MONGODB_ADMINUSERNAME=root
- ME_CONFIG_MONGODB_ADMINPASSWORD=${MONGO_PASSWORD} - ME_CONFIG_MONGODB_ADMINPASSWORD=example
- ME_CONFIG_MONGODB_URL=mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@mongo:27017/ - ME_CONFIG_MONGODB_URL=mongodb://root:example@mongo:27017/
ports: ports:
- 8081:8081 - 8081:8081
networks: networks: