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

33 lines
649 B
YAML

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:
- 8081:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
depends_on:
- backend
- frontend