Commit graph

7 commits

Author SHA1 Message Date
929ba2a26d
fix(forgejo,vaultwarden): restart with postgresql
As it has been discovered, regular update of postgresql cause issues when
the database gets restarted, cause the containers can no longer correctly
resolve the hostname and reconnect, therefore use ‹PartOf› to truly¹
force a restart of the container once the database gets restarted.

¹ Tried to fix a similar issue once already in 737acfd, based on the
  observations, I have failed…

Signed-off-by: Matej Focko <me@mfocko.xyz>
2025-02-28 09:03:43 +01:00
2a1bc28205
chore(forgejo): bump to the next version
Signed-off-by: Matej Focko <me@mfocko.xyz>
2025-02-28 09:02:16 +01:00
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
037716df0c
feat(quadlets): allow auto-update by podman
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-18 15:48:02 +01:00
e0f3fbe22b
fix(forgejo): handle reverse proxy
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-18 15:31:15 +01:00
d0fc1cd3d6
style: add Ansible-managed headers
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-15 16:50:11 +01:00
5057b9fed1
feat(forgejo): add quadlet deployment
Related to 

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-11-14 15:40:40 +01:00