fix(linkwarden): set DB URL for prisma
All checks were successful
Renovate / renovate (push) Successful in 23s

This commit is contained in:
Peter 2024-05-07 18:42:58 +02:00
parent 7846f8c297
commit 70ce44a7bc
Signed by: prskr
GPG key ID: F56BED6903BC5E37

View file

@ -16,16 +16,22 @@ spec:
app.kubernetes.io/name: linkwarden
spec:
initContainers:
- name: install-packages
image: linkwarden
command: ["/bin/bash", "-c", "npx playwright install"]
volumeMounts:
- name: node-cache
mountPath: /home/node/.cache
# - name: install-packages
# image: linkwarden
# command: ["/bin/bash", "-c", "npx playwright install"]
# volumeMounts:
# - name: node-cache
# mountPath: /home/node/.cache
- name: run-prisma-migrations
image: linkwarden
command: ["/data/node_modules/.bin/prisma"]
args: ["migrate", "deploy"]
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: default-cluster-pguser-linkwarden
key: uri
containers:
- name: linkwarden
image: linkwarden