Files
comunidadhll/docker-compose.yml
2026-03-23 20:14:07 +01:00

36 lines
755 B
YAML

services:
backend:
build:
context: ./backend
container_name: hll-vietnam-backend
env_file:
- ./backend/.env.example
ports:
- "8000:8000"
volumes:
- ./backend/data:/app/data
restart: unless-stopped
historical-runner:
build:
context: ./backend
container_name: hll-vietnam-historical-runner
command: ["python", "-m", "app.historical_runner", "--hourly"]
env_file:
- ./backend/.env.example
depends_on:
- backend
volumes:
- ./backend/data:/app/data
restart: unless-stopped
frontend:
build:
context: ./frontend
container_name: hll-vietnam-frontend
depends_on:
- backend
ports:
- "8080:8080"
restart: unless-stopped