Skip to content

Using Api keys as ENV variables in Docker #28097

@karneaud

Description

@karneaud

Question

Was looking for the docs for the docker version bout you guys seems to have moved it. I'm trying to configure API KEYS as ENV vars in docker for some of the providers but in using /connect I'm still being asked by some of the providers for the Key even though it should be in the .env . Where can I store the keys in docker so they can be loaded and how do I configure the opencode.json to use these keys on docker run ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions