Files
homelab/docker-compose/apps-1/homelable/compose.yaml
T
Lino Silva e1500967cf feat: Homelable
Co-authored-by: Copilot <copilot@github.com>
2026-05-04 10:33:18 +01:00

35 lines
709 B
YAML

services:
backend:
restart: unless-stopped
env_file:
- .env
environment:
# Override env_file: SQLite path must point inside the container volume
SQLITE_PATH: /app/data/homelab.db
volumes:
- /data/homelable:/app/data
networks:
- homelable
# Required for ping-based status checks
cap_add:
- NET_RAW
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/health"]
interval: 10s
timeout: 5s
retries: 6
start_period: 15s
frontend:
restart: unless-stopped
ports:
- "8084:80"
depends_on:
- backend
networks:
- homelable
networks:
homelable:
driver: bridge