forked from mtusi2026/mtusi2026lab4
ЛР 4: приватное S3-хранилище и вложения сообщений
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1 @@
|
||||
{"identities":[{"name":"lab-api","credentials":[{"accessKey":"localminio","secretKey":"local-minio-password-only"}],"actions":["Admin","Read","Write","List","Tagging"]}]}
|
||||
Reference in New Issue
Block a user