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:
20
deployment/stacks/traefik/dynamic/gitea-service.yml
Normal file
20
deployment/stacks/traefik/dynamic/gitea-service.yml
Normal 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
|
||||||
Reference in New Issue
Block a user