mirror of
https://github.com/immich-app/immich.git
synced 2025-05-24 01:12:58 -04:00
chore: better immich-web logging (#17992)
This commit is contained in:
parent
8c5116bc1d
commit
6df6103c67
@ -5,10 +5,17 @@ TYPESCRIPT_SDK=/usr/src/open-api/typescript-sdk
|
|||||||
npm --prefix "$TYPESCRIPT_SDK" install
|
npm --prefix "$TYPESCRIPT_SDK" install
|
||||||
npm --prefix "$TYPESCRIPT_SDK" run build
|
npm --prefix "$TYPESCRIPT_SDK" run build
|
||||||
|
|
||||||
|
|
||||||
|
COUNT=0
|
||||||
UPSTREAM="${IMMICH_SERVER_URL:-http://immich-server:2283/}"
|
UPSTREAM="${IMMICH_SERVER_URL:-http://immich-server:2283/}"
|
||||||
until wget --spider --quiet "${UPSTREAM}/api/server/config"; do
|
until wget --spider --quiet "${UPSTREAM}/api/server/config" > /dev/null 2>&1; do
|
||||||
echo 'waiting for api server...'
|
if [ $((COUNT % 10)) -eq 0 ]; then
|
||||||
|
echo "Waiting for $UPSTREAM to start..."
|
||||||
|
fi
|
||||||
|
COUNT=$((COUNT + 1))
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo "Connected to $UPSTREAM"
|
||||||
|
|
||||||
node ./node_modules/.bin/vite dev --host 0.0.0.0 --port 3000
|
node ./node_modules/.bin/vite dev --host 0.0.0.0 --port 3000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user