dotfiles/roles
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
..
base fix(base/system): upgrade with apt on Debian 2024-11-18 15:09:53 +01:00
certbot style: add Ansible-managed headers 2024-11-15 16:50:11 +01:00
cockpit style: add Ansible-managed headers 2024-11-15 16:50:11 +01:00
cups/tasks fix(firewalld): adjust firewall only when it's set up 2024-07-22 10:39:21 +02:00
ddns style: add Ansible-managed headers 2024-11-15 16:50:11 +01:00
editors fix(helix): define installation on Debian 2024-11-20 18:14:40 +01:00
flatpak fix(flatpak): install flatpak if not present 2024-07-15 19:42:30 +02:00
fonts/tasks chore: move out user roles 2024-07-12 21:23:02 +02:00
forgejo fix: require postgresql for forgejo and vaultwarden 2024-11-27 17:57:35 +01:00
git chore: move out user roles 2024-07-12 21:23:02 +02:00
gpg/tasks chore: move out user roles 2024-07-12 21:23:02 +02:00
lang/haskell chore: move out user roles 2024-07-12 21:23:02 +02:00
nginx fix(nginx): unnest notify 2024-11-22 16:43:15 +01:00
os fix(os/el): enable Google repo and RPMfusion 2024-07-30 15:11:16 +02:00
podman/tasks chore: move out system roles 2024-07-12 21:19:42 +02:00
secrets chore: move out user roles 2024-07-12 21:23:02 +02:00
shell fix(zsh): use correct *box script for name 2024-07-22 10:37:16 +02:00
ssh chore: move out user roles 2024-07-12 21:23:02 +02:00
sshd fix(install): refine the decision-making for OSs 2024-11-18 15:15:49 +01:00
terminals feat(ptyxis): add new role for a terminal 2024-07-30 15:08:54 +02:00
thelounge feat(quadlets): allow auto-update by podman 2024-11-18 15:48:02 +01:00
tmpfiles style: add Ansible-managed headers 2024-11-15 16:50:11 +01:00
vaultwarden fix: require postgresql for forgejo and vaultwarden 2024-11-27 17:57:35 +01:00
wg fix(wg): improve generation of keypairs 2024-11-20 18:13:02 +01:00
yubikey chore: move out yubikey roles 2024-07-12 21:15:31 +02:00