version: '3.8' services: seismo-backend: build: . container_name: seismo-fleet-manager ports: - "8001:8000" volumes: # Persist SQLite database - ./data:/app/data environment: - PYTHONUNBUFFERED=1 restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/"] interval: 30s timeout: 10s retries: 3 start_period: 40s volumes: data: