fix(linkwarden): use pgbouncer where possible
Some checks failed
Renovate / renovate (push) Failing after 11m28s

This commit is contained in:
Peter 2024-08-20 21:38:04 +02:00
parent 73b3eae0f0
commit 9160ab95df
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 3 additions and 2 deletions

View file

@ -9,4 +9,5 @@ spec:
secretName: db-credentials secretName: db-credentials
privileges: OWNER privileges: OWNER
secretTemplate: secretTemplate:
PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require" PQ_URL: "postgresql://{{.Role}}:{{.Password}}@app-cluster-pooler-rw.postgres.svc:5432/{{.Database}}?sslmode=require&pgbouncer=true"
PQ_MIGRATE_URL: "postgresql://{{.Role}}:{{.Password}}@{{.Host}}:5432/{{.Database}}?sslmode=require"

View file

@ -31,7 +31,7 @@ spec:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: db-credentials-linkwarden name: db-credentials-linkwarden
key: PQ_URL key: PQ_MIGRATE_URL
containers: containers:
- name: linkwarden - name: linkwarden
image: linkwarden image: linkwarden