nextload/docker-compose.db.yml
tobias 75827c3bc7
Some checks failed
continuous-integration/drone/push Build is failing
Add standalone db script
2024-06-25 11:50:12 +02:00

22 lines
376 B
YAML

---
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: