Files
sloth-manager/docker-compose.yml
T
2026-06-02 01:00:27 +02:00

37 lines
659 B
YAML

services:
backend:
build: ./backend
container_name: sloth-backend
restart: unless-stopped
env_file: ./backend/.env
volumes:
- sloth-data:/data
networks:
- sloth-net
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3001/api/providers"]
interval: 30s
timeout: 5s
retries: 3
frontend:
build: ./frontend
container_name: sloth-frontend
restart: unless-stopped
ports:
- "80:80"
networks:
- sloth-net
depends_on:
backend:
condition: service_healthy
volumes:
sloth-data:
driver: local
networks:
sloth-net:
driver: bridge