2026-06-01 11:23:04 +00:00
|
|
|
services:
|
|
|
|
|
backend:
|
|
|
|
|
build:
|
2026-06-01 13:26:56 +00:00
|
|
|
context: ./backend
|
|
|
|
|
dockerfile: Dockerfile.backend
|
2026-06-01 11:23:04 +00:00
|
|
|
image: wochenplaner-backend:latest
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
environment:
|
|
|
|
|
- PORT=8000
|
2026-06-01 13:26:56 +00:00
|
|
|
- JWT_SECRET=${SERVICE_BASE64_64_JWT:-wochenplaner-jwt-secret-change-me}
|
2026-06-01 11:23:04 +00:00
|
|
|
volumes:
|
|
|
|
|
- wochenplaner_data:/app/data
|
2026-06-01 13:26:56 +00:00
|
|
|
|
|
|
|
|
frontend:
|
|
|
|
|
image: nginx:alpine
|
|
|
|
|
restart: unless-stopped
|
|
|
|
|
ports:
|
|
|
|
|
- "8000:80"
|
|
|
|
|
volumes:
|
|
|
|
|
- ./frontend:/var/www/html:ro
|
|
|
|
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
2026-06-01 11:23:04 +00:00
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
wochenplaner_data:
|
|
|
|
|
driver: local
|