[+] mongo

This commit is contained in:
2025-11-17 22:42:11 +08:00
parent 79182ddf7c
commit 6c2b8f6363
5 changed files with 47 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
services:
mongodb:
image: mongo:latest
container_name: mongodb_dev
restart: unless-stopped
ports:
- "27017:27017"
environment:
MONGO_INITDB_ROOT_USERNAME: cat
MONGO_INITDB_ROOT_PASSWORD: meow
volumes:
- mongodb_data:/data/db
volumes:
mongodb_data: