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
|
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
|
||||||
|
|
Loading…
Reference in a new issue