Files
Astronome/docker-compose.yml
T
2026-04-10 22:58:50 +02:00

34 lines
646 B
YAML

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