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.
This commit is contained in:
Tam Nhu Tran
2026-03-28 21:22:20 -04:00
parent e9fceed807
commit 59be7f8682
+7
View File
@@ -37,6 +37,13 @@ export async function handleUp(args: string[]): Promise<void> {
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)), {