upgrades: use the host IP instead of 0.0.0.0

otherwise it cannot be used when running from a LXC/docker container
This commit is contained in:
Twenty Panda 2024-03-15 12:30:06 +07:00 committed by p
parent e0c4025af5
commit 3ead37ed37

View file

@ -17,7 +17,7 @@
RELEASE_NUMBERS="7.0"
PREFIX===============
HOST_PORT=0.0.0.0:3000
HOST_PORT=$(hostname -I | cut -f1 -d' '):3000
STORAGE_PATHS="attachments avatars lfs packages repo-archive repo-avatars"
STORAGE_FUN="attachments avatars lfs packages repo_archive repo_avatars"
DIR=/tmp/forgejo-upgrades