Fix: remove image:, single container with StaticFiles
This commit is contained in:
+2
-10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user