- Add gitea-service.yml with proper timeout configuration - Service definition required for Traefik to route to Gitea - Replaces old gitea.yml file that was removed
21 lines
543 B
YAML
21 lines
543 B
YAML
# Gitea Service Configuration
|
|
# Service definition with proper timeouts for slow responses
|
|
|
|
http:
|
|
services:
|
|
gitea:
|
|
loadBalancer:
|
|
servers:
|
|
- url: http://gitea:3000
|
|
# Health check configuration
|
|
healthCheck:
|
|
path: /api/healthz
|
|
interval: 30s
|
|
timeout: 10s
|
|
scheme: http
|
|
# Response forwarding - flush immediately to stream responses
|
|
responseForwarding:
|
|
flushInterval: 0s
|
|
# Pass host header to backend
|
|
passHostHeader: true
|