Always run db migration

This commit is contained in:
Marcus Noble 2022-03-04 18:11:24 +00:00
parent 3dd4f018ea
commit 380713229c
1 changed files with 7 additions and 9 deletions

View File

@ -67,15 +67,13 @@ spec:
- name: outline
image: outlinewiki/outline:0.62.0
imagePullPolicy: IfNotPresent
# command:
# - sh
# - -c
# - |
# sleep 10
# yarn db:migrate --env=production-ssl-disabled
# echo "Done"
# sleep 300
# exit 1
command:
- sh
- -c
- |
sleep 10
yarn db:migrate --env=production-ssl-disabled
yarn start
env:
- name: PGSSLMODE
value: disable