This commit is contained in:
2026-07-02 22:13:33 +02:00
parent b343ad8a38
commit ba6c35f76d
30 changed files with 2752 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
services:
jahresplanung:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
ports:
- "3000:3000"
environment:
- PORT=3000
- MONGODB_URI=mongodb://mongo:27017/jahresplanung
depends_on:
- mongo
mongo:
image: mongo:7
restart: unless-stopped
# Kein "ports:" Eintrag: MongoDB ist nur innerhalb des Compose-Netzwerks
# erreichbar (fuer den jahresplanung-Service), nicht von aussen.
volumes:
- jahresplanung-mongo-data:/data/db
volumes:
jahresplanung-mongo-data: