summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authortechknowlogick <hello@techknowlogick.com>2019-01-17 22:31:14 -0500
committerGitHub <noreply@github.com>2019-01-17 22:31:14 -0500
commitec9331510cdc84cc9e68513c13283fd958dda2cc (patch)
treea4c43a83ca5e450c7dc87b23ada24d9fd2898476 /docker
parent7d65ddf5e1f1dbdfd1662a15ca3ffb8440275885 (diff)
downloadgitea-ec9331510cdc84cc9e68513c13283fd958dda2cc.tar.gz
gitea-ec9331510cdc84cc9e68513c13283fd958dda2cc.zip
Disable auto-migrate in docker container (#5730)
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/usr/bin/entrypoint6
1 files changed, 0 insertions, 6 deletions
diff --git a/docker/usr/bin/entrypoint b/docker/usr/bin/entrypoint
index a53eb52eea..d8e68b9404 100755
--- a/docker/usr/bin/entrypoint
+++ b/docker/usr/bin/entrypoint
@@ -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