Initial commit: Wochenplaner Backend + Docker Setup
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user