diff --git a/bot/bot.ts b/bot/bot.ts index b43abeb..f676903 100644 --- a/bot/bot.ts +++ b/bot/bot.ts @@ -592,7 +592,12 @@ async function answerToast(ctx: Context, text: string) { } async function actUpAll(ctx: Context) { - const r = await compose("up", "-d"); + // Only the server + tunnel — never the bot itself. A bare `compose up -d` + // would re-evaluate every service in the project, recreate the bot + // container, SIGTERM the running process mid-call, and leave a renamed + // replacement stuck in "Created" state because the name collision prevented + // it from starting. Matches actDownAll, which already scopes to these two. + const r = await compose("up", "-d", SERVER_SVC, PF_SVC); await answerToast(ctx, r.ok ? "starting…" : "failed"); await maybeSendSticker(ctx, r.ok ? "up" : "error"); await renderMain(ctx);