Initial commit: Wochenplaner Backend + Docker Setup

This commit is contained in:
Wochenplaner Deploy
2026-06-01 11:23:04 +00:00
commit e5f44112d0
7 changed files with 460 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
services:
backend:
build:
context: .
dockerfile: Dockerfile
image: wochenplaner-backend:latest
container_name: wochenplaner
restart: unless-stopped
# Kein ports: 80/443 - Traefik belegt diese
# Port 8000 für API - identischer Host/Container-Port
ports:
- "8000:8000"
environment:
- PORT=8000
- JWT_SECRET=${JWT_SECRET:-wochenplaner-jwt-secret-change-me}
volumes:
- wochenplaner_data:/app/data
volumes:
wochenplaner_data:
driver: local