No description
Find a file
Matej Focko 737acfde87
fix: require postgresql for forgejo and vaultwarden
Storing data for Forgejo and Vaultwarden in the postgres database results
in a rather wonky behavior during restarts of the VPS and potential
restarts of the postgres itself.

Based on some observations Forgejo is capable of recovering from such
issues, but Vaultwarden falls into a retry loop trying to reconnect to
the database while failing on resolving the hostname / connecting, e.g.,

    [2024-11-27 16:52:43.646][r2d2][ERROR] connection to server at "host.containers.internal" (XXX.XXX.XXX.XXX), port 5432 failed: Connection refused

Therefore adjust the quadlet definitions to require and boot containers
»after« the postgres is running to minimalize the possible issues.

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-27 17:57:35 +01:00
collections chore(ansible): add posix to requirements 2024-07-07 17:39:01 +02:00
defaults feat: convert inventories and use Ansible Vault 2024-11-13 09:45:54 +01:00
group_vars feat: convert inventories and use Ansible Vault 2024-11-13 09:45:54 +01:00
handlers feat: create handlers in top-level 2024-11-18 15:21:19 +01:00
host_vars feat(vaultwarden): deploy from quadlet 2024-11-14 16:50:43 +01:00
playbooks chore: add empty task list to playground 2024-11-18 15:22:51 +01:00
roles fix: require postgresql for forgejo and vaultwarden 2024-11-27 17:57:35 +01:00
scripts Add pre-commit 2021-01-25 12:30:25 +01:00
.ansible-lint ci: reformat ansible-lint config 2023-08-27 11:41:08 +02:00
.gitignore chore(git): add gitignore 2024-07-12 14:50:33 +02:00
.pre-commit-config.yaml ci: ansible lint only relevant files 2024-05-07 13:45:06 +02:00
ansible.cfg feat: convert inventories and use Ansible Vault 2024-11-13 09:45:54 +01:00
inventory feat: convert inventories and use Ansible Vault 2024-11-13 09:45:54 +01:00
Makefile fix: switch to hosts instead of inventory 2023-08-31 11:54:36 +02:00