From 59be7f8682c4be95886728555fd1567ea1faf7cf Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Sat, 28 Mar 2026 21:21:41 -0400 Subject: [PATCH] fix(docker): print auth setup reminder after remote deployment Users deploying via ccs docker up --host see "Docker stack is running" but hit a broken dashboard because auth is required for remote API access. Now prints a reminder with the exact command to configure auth. --- src/commands/docker/up-subcommand.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/commands/docker/up-subcommand.ts b/src/commands/docker/up-subcommand.ts index 0ee8bc60..fcbb4242 100644 --- a/src/commands/docker/up-subcommand.ts +++ b/src/commands/docker/up-subcommand.ts @@ -37,6 +37,13 @@ export async function handleUp(args: string[]): Promise { console.log(ok(`Docker stack is running${parsed.host ? ` on ${parsed.host}` : ' locally'}.`)); console.log(info(`Dashboard port: ${port}`)); console.log(info(`CLIProxy port: ${proxyPort}`)); + if (parsed.host) { + console.log( + info( + 'Remote access requires dashboard auth. Run inside the container:\n docker exec -it ccs-cliproxy ccs config auth setup' + ) + ); + } } catch (error) { console.error( box(fail(error instanceof Error ? error.message : String(error)), {