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