лаба на 5

This commit is contained in:
2026-11-12 15:32:10 +03:00
parent 910252c277
commit 0edfe46482
13 changed files with 1378 additions and 31 deletions
+1
View File
@@ -19,6 +19,7 @@ create_random_secret() {
}
create_random_secret postgres_password "$(python3 -c 'import secrets; print(secrets.token_hex(24))')"
create_random_secret rabbitmq_password "$(python3 -c 'import secrets; print(secrets.token_hex(24))')"
if [[ ! -s secrets/database_url ]]; then
PASSWORD="$(cat secrets/postgres_password)"