Files
Astronome/docker-compose.yml
T
2026-04-10 23:24:08 +02:00

35 lines
682 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
container_name: astronome-nginx
restart: unless-stopped
ports:
- "80:80"
volumes:
- ./nginx-config.conf:/etc/nginx/nginx-config.conf:ro
depends_on:
- backend
- frontend