Files
Astronome/docker-compose.yml
T
2026-04-09 23:23:31 +02:00

31 lines
544 B
YAML

services:
backend:
build: ./backend
restart: unless-stopped
volumes:
- ./data:/data
environment:
- DATABASE_URL=sqlite:///data/astronome.db
- RUST_LOG=info
ports:
- "3001:3001"
frontend:
build: ./frontend
restart: unless-stopped
ports:
- "3000:80"
depends_on:
- backend
nginx:
image: nginx:alpine
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- backend
- frontend