fix(linkwarden): set DB URL for prisma
All checks were successful
Renovate / renovate (push) Successful in 23s
All checks were successful
Renovate / renovate (push) Successful in 23s
This commit is contained in:
parent
7846f8c297
commit
70ce44a7bc
1 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue