Commit Graph

7 Commits

Author SHA1 Message Date
Jakub Sokołowski dfe1e2ccdf
rename postgres_ha_alter_system_settings
To use same prefix as all other variables.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-25 16:04:56 +02:00
Alexis Pentori 5650471d72
init: adding additional script
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-06-12 12:09:22 +02:00
Jakub Sokołowski 9fbe3851b9
init: script to modify settings using alter system
Necessary for waku fleets to limnit WAL growth size.
https://github.com/status-im/infra-role-postgres-ha/issues/3

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:04:55 +01:00
Jakub Sokołowski de8022989d
reinit: run init scripts after setup
This is done to avoid the implicit behavior of init scripts running only
at database creation time, causing confusion when forgotten.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:04:06 +01:00
Jakub Sokołowski bbdb294e3d
databases: use initdb folder to create DBs and users
This way when the database is cleared the user is automatically created
without the need to run Ansible.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-21 16:14:28 +01:00
Alexis Pentori 085e30fd75
backup: adding condition before setting backup
Signed-off-by: Alexis Pentori <alexis@status.im>
2023-11-16 12:40:02 +01:00
Jakub Sokołowski e3713bd9a5
add basic readme
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-24 20:55:26 +01:00