Completed for a grade of three

This commit is contained in:
2026-11-05 14:10:23 +03:00
parent 319f0d519e
commit 770ca11745
44 changed files with 1209 additions and 47 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ defaults
option forwardfor
timeout connect 1s
timeout client 30s
timeout server 10s
timeout server 30s
timeout http-request 10s
timeout http-keep-alive 5s
# Retried only when the connection to a replica fails, i.e. before the request was sent:
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -eu
# No tracing: credentials must not appear in logs.
mc alias set local http://s3:9000 "$(cat /run/secrets/s3_access_key_id)" "$(cat /run/secrets/s3_secret_access_key)" >/dev/null
mc mb --ignore-existing "local/$S3_BUCKET"
mc anonymous set none "local/$S3_BUCKET"