version: '3.8' services: gitea-bridge: build: context: . dockerfile: Dockerfile container_name: gitea-event-bridge ports: - "5000:5000" volumes: - ./logs:/app/logs environment: - HOST=0.0.0.0 - PORT=5000 - DEBUG=false - OPENCODE_URL=http://host.docker.internal:8080 - LOG_FILE=/app/logs/activity.json - GITEA_WEBHOOK_SECRET=${GITEA_WEBHOOK_SECRET:-} - AUTO_TRIGGER_PIPELINE=true - AUTO_TRIGGER_REVIEW=true restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s networks: - gitea-network networks: gitea-network: driver: bridge