Fix docker-compose: remove ports (Traefik routing)
This commit is contained in:
+2
-4
@@ -7,15 +7,13 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- PORT=8000
|
- PORT=8000
|
||||||
- JWT_SECRET=${SERVICE_BASE64_64_JWT:-wochenplaner-jwt-secret-change-me}
|
- JWT_SECRET=${SERVICE_BASE64_64_JWT:-wochenplaner-jwt-secret}
|
||||||
volumes:
|
volumes:
|
||||||
- wochenplaner_data:/app/data
|
- wochenplaner_data:/app/data
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
|
||||||
- "8000:80"
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend:/var/www/html:ro
|
- ./frontend:/var/www/html:ro
|
||||||
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
||||||
|
|||||||
Reference in New Issue
Block a user