services: docker-compose-updater: image: ghcr.io/your-username/docker-compose-updater:latest container_name: docker-compose-updater restart: unless-stopped environment: - GITHUB_TOKEN=${GITHUB_TOKEN} - GITLAB_TOKEN=${GITLAB_TOKEN} - TZ=UTC volumes: # Mount directory containing your compose files - ./compose-files:/app/compose-files:rw # Mount configuration - ./config.yaml:/app/config/config.yaml:ro ports: - "8080:8080" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 30s timeout: 5s retries: 3 start_period: 10s