Fix wallabag
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
f385261545
commit
6f7fd5441a
@ -44,7 +44,7 @@ spec:
|
|||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
containers:
|
containers:
|
||||||
- name: db-init
|
- name: db-init
|
||||||
image: "wallabag/wallabag:2.6.1"
|
image: "wallabag/wallabag:latest"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
@ -93,6 +93,37 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: wallabag
|
app.kubernetes.io/name: wallabag
|
||||||
spec:
|
spec:
|
||||||
|
initContainers:
|
||||||
|
- name: db-migrate
|
||||||
|
image: "wallabag/wallabag:2.6.1"
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
command:
|
||||||
|
- /var/www/wallabag/bin/console
|
||||||
|
- doctrine:migrations:migrate
|
||||||
|
- --env=prod
|
||||||
|
- --no-interaction
|
||||||
|
envFrom:
|
||||||
|
- secretRef:
|
||||||
|
name: wallabag
|
||||||
|
env:
|
||||||
|
- name: "SYMFONY__ENV__DATABASE_CHARSET"
|
||||||
|
value: "utf8"
|
||||||
|
- name: "SYMFONY__ENV__DATABASE_DRIVER"
|
||||||
|
value: "pdo_pgsql"
|
||||||
|
- name: "SYMFONY__ENV__DATABASE_NAME"
|
||||||
|
value: "wallabag"
|
||||||
|
- name: "SYMFONY__ENV__DATABASE_TABLE_PREFIX"
|
||||||
|
value: "wallabag_"
|
||||||
|
- name: "SYMFONY__ENV__DOMAIN_NAME"
|
||||||
|
value: "https://wallabag.cluster.fun"
|
||||||
|
- name: "SYMFONY__ENV__FOSUSER_REGISTRATION"
|
||||||
|
value: "false"
|
||||||
|
- name: "SYMFONY__ENV__LOCALE"
|
||||||
|
value: "en"
|
||||||
|
- name: "TZ"
|
||||||
|
value: "UTC"
|
||||||
|
- name: "POPULATE_DATABASE"
|
||||||
|
value: "false"
|
||||||
containers:
|
containers:
|
||||||
- name: wallabag
|
- name: wallabag
|
||||||
image: "wallabag/wallabag:2.6.1"
|
image: "wallabag/wallabag:2.6.1"
|
||||||
|
Loading…
Reference in New Issue
Block a user