version: '3.8' services: clover: build: . container_name: clover-ai restart: unless-stopped ports: - "8080:8080" volumes: - .:/app - ~/.clover:/home/clover/.clover environment: - PYTHONPATH=/app - LOG_LEVEL=INFO command: python3 main.py healthcheck: test: ["CMD", "python3", "health.py"] interval: 30s timeout: 10s start_period: 5s retries: 3