Skip to content

Commit ef451f3

Browse files
committed
fix(cli): update prompt message for Root API Bearer Token and adjust environment variable in docker-compose
1 parent f3152b6 commit ef451f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client/acontext-cli/cmd/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ func promptEnvConfig() (*docker.EnvConfig, error) {
370370
// Prompt for Root API Bearer Token (with default)
371371
var rootAPIBearerToken string
372372
rootTokenPrompt := &survey.Input{
373-
Message: "4. Enter Root API Bearer Token:",
373+
Message: "4. Set up Root API Bearer Token:",
374374
Default: "your-root-api-bearer-token",
375375
Help: "This token is used for root API access (e.g., for creating projects)",
376376
}

src/client/acontext-cli/internal/docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ services:
185185
environment:
186186
NODE_ENV: production
187187
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL:-http://localhost:3000}
188-
NEXT_PUBLIC_API_SERVER_URL: http://acontext-server-api:8029
189188
NEXT_PUBLIC_BASE_PATH: ""
189+
API_SERVER_URL: http://acontext-server-api:8029
190190
ROOT_API_BEARER_TOKEN: ${ROOT_API_BEARER_TOKEN:-your-root-api-bearer-token}
191191
DATABASE_URL: postgresql://${DATABASE_USER:-acontext}:${DATABASE_PASSWORD:-helloworld}@acontext-server-pg:5432/${DATABASE_NAME:-acontext}
192192
ports:

0 commit comments

Comments
 (0)