From 764c0efd05cf13cd7e28b0170aa4d5c15c28ac5a Mon Sep 17 00:00:00 2001 From: Peter Giacomo Lombardo Date: Wed, 18 Oct 2023 11:27:56 +0200 Subject: [PATCH] pwpush container: Update link in entrypoint.sh --- containers/docker/pwpush/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/containers/docker/pwpush/entrypoint.sh b/containers/docker/pwpush/entrypoint.sh index 1f15ffd236f..b60d54b4885 100755 --- a/containers/docker/pwpush/entrypoint.sh +++ b/containers/docker/pwpush/entrypoint.sh @@ -3,14 +3,16 @@ set -e export RAILS_ENV=production +echo "" if [ -z "$DATABASE_URL" ] then echo "DATABASE_URL not specified. Assuming ephemeral backend. Database may be lost on container restart." - echo "To set a database backend refer to https://github.com/pglombardo/PasswordPusher/wiki/Switch-to-Another-Backend-Database#environment-variable" + echo "To set a database backend refer to https://github.com/pglombardo/PasswordPusher/wiki/How-to-migrate-to-the-Universal-Container#how-does-it-work" export DATABASE_URL=sqlite3:db/db.sqlite3 else echo "According to DATABASE_URL database backend is set to $(echo $DATABASE_URL|cut -d ":" -f 1):..." fi +echo "" echo "Password Pusher: migrating database to latest..." bundle exec rake db:migrate