This commit is contained in:
2026-11-20 22:48:28 +03:00
parent 276dbdad8a
commit 8e1f96b70b
46 changed files with 2345 additions and 49 deletions
+29
View File
@@ -0,0 +1,29 @@
global
log stdout format raw local0
maxconn 2048
defaults
mode http
option httplog
timeout http-request 5s
timeout connect 1s
timeout client 30s
timeout server 30s
option httpchk GET /health/ready
http-check expect status 200
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 5s
frontend public
bind :8080
default_backend api_backend
backend api_backend
balance roundrobin
option httpchk GET /health/ready
server-template api 4 api:8080 check inter 1s fall 2 rise 2 resolvers docker init-addr last,libc,none