MongoDB configuration by file property, and added timeout connection MongoDB

This commit is contained in:
Mario
2022-05-17 23:31:20 +02:00
parent 296cf26861
commit 50705243f4
4 changed files with 34 additions and 17 deletions

View File

@ -23,7 +23,7 @@ services:
restart: always
container_name: mongo-express
ports:
- 8081:8081
- "8081:8081"
environment:
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: example