diff --git a/roles/forgejo/templates/forgejo.container b/roles/forgejo/templates/forgejo.container index 59b7b65..08a08e8 100644 --- a/roles/forgejo/templates/forgejo.container +++ b/roles/forgejo/templates/forgejo.container @@ -2,6 +2,8 @@ [Unit] Description=Forgejo +After=postgresql.service +Requires=postgresql.service [Container] ContainerName=forgejo diff --git a/roles/vaultwarden/templates/vaultwarden.container b/roles/vaultwarden/templates/vaultwarden.container index 47ef09e..0b7bd17 100644 --- a/roles/vaultwarden/templates/vaultwarden.container +++ b/roles/vaultwarden/templates/vaultwarden.container @@ -2,6 +2,8 @@ [Unit] Description=Vaultwarden +After=postgresql.service +Requires=postgresql.service [Container] ContainerName=vaultwarden