Fix: remove image:, single container with StaticFiles

This commit is contained in:
Wochenplaner Deploy
2026-06-01 14:02:07 +00:00
parent e888ddeb11
commit 913022786d
3 changed files with 1678 additions and 11 deletions
+2 -10
View File
@@ -1,23 +1,15 @@
services:
backend:
app:
build:
context: ./backend
dockerfile: Dockerfile.backend
image: wochenplaner-backend:latest
restart: unless-stopped
environment:
- PORT=8000
- PORT=80
- JWT_SECRET=${SERVICE_BASE64_64_JWT:-wochenplaner-jwt-secret}
volumes:
- wochenplaner_data:/app/data
frontend:
image: nginx:alpine
restart: unless-stopped
volumes:
- ./frontend:/var/www/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
volumes:
wochenplaner_data:
driver: local