version: '3.8' services: gitea-notification-hub: build: . container_name: gitea-notification-hub restart: unless-stopped ports: - "8080:8080" volumes: - ./config:/app/config:ro - ./data:/app/data environment: - GITEA_WEBHOOK_SECRET=${GITEA_WEBHOOK_SECRET} - GITEA_URL=${GITEA_URL} - GITEA_API_TOKEN=${GITEA_API_TOKEN} - SLACK_BOT_TOKEN=${SLACK_BOT_TOKEN} healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8080/health"] interval: 30s timeout: 3s retries: 3 start_period: 5s