Files
wochenplaner/docker-compose.yml
T

26 lines
573 B
YAML
Raw Normal View History

services:
backend:
build:
context: ./backend
dockerfile: Dockerfile.backend
image: wochenplaner-backend:latest
restart: unless-stopped
environment:
- PORT=8000
- JWT_SECRET=${SERVICE_BASE64_64_JWT:-wochenplaner-jwt-secret-change-me}
volumes:
- wochenplaner_data:/app/data
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
volumes:
wochenplaner_data:
driver: local