Skip to content

Commit

Permalink
Disable auto-migrate in docker container (#5730)
Browse files Browse the repository at this point in the history
  • Loading branch information
techknowlogick authored Jan 18, 2019
1 parent 7d65ddf commit ec93315
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker/usr/bin/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@ for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do
mkdir -p ${FOLDER}
done

if [ -f /data/gitea/conf/app.ini ]; then
echo "Found app.ini config file, migrating database"
chown -R ${USER_UID}:${USER_GID} /data/git /data/gitea
su - ${USER} -c gitea migrate -c /data/gitea/conf/app.ini
fi

if [ $# -gt 0 ]; then
exec "$@"
else
Expand Down

0 comments on commit ec93315

Please sign in to comment.