diff options
author | techknowlogick <hello@techknowlogick.com> | 2019-01-17 22:31:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 22:31:14 -0500 |
commit | ec9331510cdc84cc9e68513c13283fd958dda2cc (patch) | |
tree | a4c43a83ca5e450c7dc87b23ada24d9fd2898476 /docker | |
parent | 7d65ddf5e1f1dbdfd1662a15ca3ffb8440275885 (diff) | |
download | gitea-ec9331510cdc84cc9e68513c13283fd958dda2cc.tar.gz gitea-ec9331510cdc84cc9e68513c13283fd958dda2cc.zip |
Disable auto-migrate in docker container (#5730)
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/usr/bin/entrypoint | 6 |
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 |