nextload/docker-compose.db.yml

22 lines
376 B
YAML
Raw Normal View History

2024-06-25 09:50:12 +00:00
---
services:
mongo:
image: mongo:6.0.5
restart: unless-stopped
volumes:
- mongo:/data/db
command:
- --storageEngine=wiredTiger
environment:
- "MONGO_INITDB_ROOT_USERNAME=mongo"
- "MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}"
networks:
- internal
ports:
- 27017:27017
networks:
internal:
volumes:
mongo: