The OAuth flow uses grant_type=mobile with a server-issued grant (app/api/auth/token/route.js); no client_id/client_secret is sent at runtime. These vars were dead — removed from Dockerfile args/env, docker-compose, nixpacks, and docs. Also silences the Coolify 'variable not set' build warnings. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
19 lines
442 B
TOML
19 lines
442 B
TOML
[phases.setup]
|
|
nixPkgs = ["nodejs_22"]
|
|
|
|
[phases.install]
|
|
cmds = ["npm install --production --frozen-lockfile"]
|
|
|
|
[phases.build]
|
|
cmds = ["npm run build"]
|
|
|
|
[start]
|
|
cmd = "node server.js"
|
|
|
|
[variables]
|
|
NODE_ENV = "production"
|
|
NEXT_TELEMETRY_DISABLED = "1"
|
|
|
|
# These environment variables will need to be set in your deployment platform
|
|
# NEXT_PUBLIC_API_URL - Set in deployment platform
|
|
# DEV_MODE - Set in deployment platform (FALSE in production) |