fix: disable fnos web cache for live debugging

This commit is contained in:
kris
2026-03-26 22:20:34 +08:00
parent 82560d1415
commit 2a1e2201fb
3 changed files with 29 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ echo "[3/6] sync runtime config override"
echo "[4/6] sync compose file"
"$FNOS_SCP" "$REMOTE_COMPOSE_DIR" "$ROOT/deploy/storyforge-fnos-web-v4.compose.yaml"
"$FNOS_SCP" "$REMOTE_COMPOSE_DIR" "$ROOT/deploy/storyforge-fnos-web-v4.nginx.conf"
echo "[5/6] restart fnOS web container"
run_remote_sudo "$PASSWORD" "cd $(shell_quote "$REMOTE_COMPOSE_DIR") && STORYFORGE_WEB_V4_DEV_PORT=$(shell_quote "$WEB_PORT") docker compose -f $(shell_quote "$REMOTE_COMPOSE_FILE") up -d --force-recreate storyforge-web-v4-dev && STORYFORGE_WEB_V4_DEV_PORT=$(shell_quote "$WEB_PORT") docker compose -f $(shell_quote "$REMOTE_COMPOSE_FILE") ps"