services:
backend:
build: ./backend
volumes:
- ./data:/data
restart: unless-stopped
nginx:
image: nginx:alpine
ports:
- "8080:80"
- ./frontend:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- backend