add a docker-compose.yml to run mongodb locally with docker

This commit is contained in:
albert
2025-07-28 12:52:50 +02:00
parent 969541000e
commit e4f51e489f

12
docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
services:
mongo:
image: mongo:6
container_name: dailytrends_mongo
restart: always
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
volumes:
mongo_data: