Compare commits

..

2 Commits

Author SHA1 Message Date
Franz Heinzmann (Frando) c5c9dcfd31 bump entrypoint version 2022-08-03 22:28:02 +02:00
Franz Heinzmann (Frando) be55317dd0 fix: always migrate before start 2022-08-02 20:09:26 +02:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
export APP_ENTRYPOINT_VERSION=v5
export APP_ENTRYPOINT_VERSION=v6
migrate() {
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
+1
View File
@@ -15,4 +15,5 @@ export SECRET_KEY=$(cat /run/secrets/secret_key)
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_db:5432/outline"
/usr/local/bin/yarn db:migrate --env=production-ssl-disabled
/usr/local/bin/yarn start "$@"