Done Track 4

This commit is contained in:
2026-10-30 16:53:49 +03:00
parent e9ee60b0ba
commit fe4a32bb79
42 changed files with 3363 additions and 118 deletions
+7
View File
@@ -34,3 +34,10 @@ if [ ! -f "$dir/valkey_password.txt" ]; then
fi
valkey_password="$(cat "$dir/valkey_password.txt")"
write_new cache_url.txt "redis://:${valkey_password}@valkey:6379/0"
# Lab4: S3 (SeaweedFS). Admin credentials are used only by the s3-init
# bootstrap; the API gets its own key pair restricted to one bucket.
write_new s3_admin_access_key_id.txt "admin$(random | cut -c1-15)"
write_new s3_admin_secret_access_key.txt "$(random)$(random)"
write_new s3_access_key_id.txt "api$(random | cut -c1-17)"
write_new s3_secret_access_key.txt "$(random)$(random)"