services: matrix-health-monitor: container_name: matrix-health-monitor build: . restart: unless-stopped env_file: .env ports: - "8090:8090" volumes: - ./data:/data healthcheck: test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8090/health')"] interval: 30s timeout: 5s retries: 3 start_period: 10s