feat(traefik): Add Gitea service definition for Traefik

- 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
This commit is contained in:
2025-11-07 23:24:20 +01:00
parent e8a26d7807
commit 9e77ac3b42

View File

@@ -0,0 +1,20 @@
# 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