лаба на 5
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user