diff --git a/abra.sh b/abra.sh index 1729e2c..6269194 100644 --- a/abra.sh +++ b/abra.sh @@ -1,4 +1,4 @@ -export ENTRYPOINT_CONF_VERSION=v5 +export ENTRYPOINT_CONF_VERSION=v6 export ENTRYPOINT_STREAMING_CONF_VERSION=v1 grep=grep diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index f1a18a5..a718d21 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -40,4 +40,6 @@ file_env "OIDC_CLIENT_SECRET" # NOTE: this was working in mastodon 4.2 but breaks in 4.3 # sed -i '/- admin$/d' /opt/mastodon/config/settings.yml +RAILS_ENV=production bundle exec rake db:migrate + /usr/bin/tini -s -- "$@"