ЛР 6: реализация мессенджера и сценарии проверки

This commit is contained in:
Russiankryt
2026-12-03 17:20:52 +03:00
parent 470d9d6f1e
commit 503126f29c
38 changed files with 2622 additions and 37 deletions
+31
View File
@@ -0,0 +1,31 @@
global
maxconn 128
log stdout format raw local0
defaults
mode http
log global
timeout connect 1s
timeout client 15s
timeout server 15s
timeout http-request 8s
timeout queue 2s
timeout check 1s
retries 0
resolvers docker
nameserver internal 127.0.0.11:53
resolve_retries 2
timeout resolve 500ms
timeout retry 500ms
hold valid 2s
frontend public
bind :8080
default_backend messenger
backend messenger
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
server-template api 8 api:8080 check inter 500ms fall 2 rise 1 resolvers docker resolve-prefer ipv4 init-addr none