forked from mtusi2026/mtusi2026lab4
Перенесён стенд lab3 (API, Redis-сессии, идемпотентность, HAProxy, реплики API). Добавлены приватный bucket SeaweedFS с отдельным ключом API, загрузка PNG/JPEG с лимитами и полной проверкой, компенсация и reconciler, плавная остановка API, тесты и evidence.
23 lines
612 B
INI
23 lines
612 B
INI
# S3 gateway sidecar (lab4). Runs in the network namespace of the `s3` service:
|
|
# SeaweedFS listens on 127.0.0.1 only, this proxy publishes just the S3 HTTP API
|
|
# as s3:9000 on the internal `storage` network. Master/volume/filer UIs and the
|
|
# unauthenticated gRPC ports (1xxxx) stay unreachable from other containers.
|
|
global
|
|
maxconn 512
|
|
log stdout format raw local0
|
|
|
|
defaults
|
|
mode tcp
|
|
log global
|
|
option tcplog
|
|
timeout connect 3s
|
|
timeout client 60s
|
|
timeout server 60s
|
|
|
|
frontend s3_api
|
|
bind *:9000
|
|
default_backend seaweed_s3
|
|
|
|
backend seaweed_s3
|
|
server s3 127.0.0.1:8333
|