This commit is contained in:
2025-11-10 19:13:33 +01:00
commit ac5738c29d
64 changed files with 9445 additions and 0 deletions

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.8'
services:
mongodb:
image: mongo:7.0
container_name: munich-news-mongodb
restart: unless-stopped
ports:
- "27017:27017"
# For development: MongoDB runs without authentication
# For production: Uncomment the environment variables below and update MONGODB_URI
# environment:
# MONGO_INITDB_ROOT_USERNAME: admin
# MONGO_INITDB_ROOT_PASSWORD: password
# MONGO_INITDB_DATABASE: munich_news
volumes:
- mongodb_data:/data/db
- mongodb_config:/data/configdb
networks:
- munich-news-network
command: mongod --bind_ip_all
volumes:
mongodb_data:
driver: local
mongodb_config:
driver: local
networks:
munich-news-network:
driver: bridge