Deploy path: pass OPENCODE_API_KEY through, not only JEV_API_KEY
Publish Docker images / build (., ./web/Dockerfile, web) (push) Canceled after 0s
Publish Docker images / build (./api, ./api/Dockerfile, api) (push) Canceled after 0s
Publish Docker images / build (., ./web/Dockerfile, web) (push) Canceled after 0s
Publish Docker images / build (./api, ./api/Dockerfile, api) (push) Canceled after 0s
The gateway hands you a variable called OPENCODE_API_KEY, and the compose lists the environment explicitly — a variable that is not named there reaches Dokploy and never reaches the container. Pasting the key under the name the console gave it would have left the second opinion reading as unconfigured, which is exactly the shape of bug that looks like the feature is broken rather than unconfigured.
This commit is contained in:
1 parent
90aa802980
commit
52d1a05426
1 file changed
+5
@@ -125,6 +125,11 @@ services:
|
||||
COACH_DISABLED: ${COACH_DISABLED:-}
|
||||
COACH_JOB_TIMEOUT_MS: ${COACH_JOB_TIMEOUT_MS:-}
|
||||
JEV_API_KEY: ${JEV_API_KEY:-}
|
||||
# The gateway's own variable name, because that is what the OpenCode Zen console gives you to
|
||||
# copy. Listed here or the key reaches Dokploy and never reaches the container: a variable
|
||||
# that is not named in this file is not passed, and the feature would look configured while
|
||||
# `GET /api/insights` kept saying it was not.
|
||||
OPENCODE_API_KEY: ${OPENCODE_API_KEY:-}
|
||||
JEV_MODEL: ${JEV_MODEL:-}
|
||||
JEV_BASE_URL: ${JEV_BASE_URL:-}
|
||||
JEV_MAX_PER_DAY: ${JEV_MAX_PER_DAY:-}
|
||||
|
||||
Reference in new issue
Block a user