ЛР 4: приватное S3-хранилище и вложения сообщений

This commit is contained in:
2026-11-12 16:06:09 +03:00
parent ec540a1a72
commit 03cd380fb8
26 changed files with 1028 additions and 74 deletions
+26
View File
@@ -0,0 +1,26 @@
global
log stdout format raw local0
maxconn 256
defaults
log global
mode http
timeout connect 1s
timeout client 30s
timeout server 30s
retries 2
option redispatch
resolvers docker
nameserver dns 127.0.0.11:53
resolve_retries 3
timeout resolve 1s
timeout retry 1s
hold valid 2s
frontend public
bind *:8080
default_backend apis
backend apis
balance roundrobin
option httpchk GET /health/ready
http-check expect status 200
server api1 api1:8000 check inter 1s fall 2 rise 1 resolvers docker init-addr libc,none
server api2 api2:8000 check inter 1s fall 2 rise 1 resolvers docker init-addr libc,none