Ver código fonte

Disable auto-migrate in docker container (#5730)

tags/v1.9.0-dev
techknowlogick 5 anos atrás
pai
commit
ec9331510c
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 0 adições e 6 exclusões
  1. 0
    6
      docker/usr/bin/entrypoint

+ 0
- 6
docker/usr/bin/entrypoint Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar