MongoDB Base de données non connectée Docker
# you must use port 27017 for host, if you use another port, database cannot connected
DATABASE_URI=mongodb://mongo:27017/db_name
services
mongo:
container_name: mongo
image: mongo
ports:
- '27017:27017'
Restu Wahyu Saputra