High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: better immich-web logging (#17992)
Jason Rasmussen6df6103c67d9
diff --git a/web/bin/immich-web b/web/bin/immich-webindex 6b2880d6d2..ea748863db 100755--- a/web/bin/immich-web+++ b/web/bin/immich-web@@ -5,10 +5,17 @@ TYPESCRIPT_SDK=/usr/src/open-api/typescript-sdknpm --prefix "$TYPESCRIPT_SDK" installnpm --prefix "$TYPESCRIPT_SDK" run build++COUNT=0UPSTREAM="${IMMICH_SERVER_URL:-http://immich-server:2283/}"-until wget --spider --quiet "${UPSTREAM}/api/server/config"; do- echo 'waiting for api server...'+until wget --spider --quiet "${UPSTREAM}/api/server/config" > /dev/null 2>&1; do+ if [ $((COUNT % 10)) -eq 0 ]; then+ echo "Waiting for $UPSTREAM to start..."+ fi+ COUNT=$((COUNT + 1))sleep 1done+echo "Connected to $UPSTREAM"+node ./node_modules/.bin/vite dev --host 0.0.0.0 --port 3000