[BUG] Unable to set storage type via env var
jaxxstorm opened this issue · comments
Describe the bug
According to the docs, it should be possible to set the config options via env vars, particularly ZEP_STORE_TYPE
. However, if the config file isn't present, Zep fails to start with:
time="2023-12-26T17:49:22Z" level=fatal msg="store.type must be set"
To Reproduce
Remove the storage
key from config.yaml
.
Set ZEP_STORE_TYPE
as an env var to postgres
Expected behavior
I should be able to set ZEP_STORAGE_TYPE
as a config option
Logs
zep | time="2023-12-26T17:50:11Z" level=info msg="Starting Zep server version 0.21.0-9161f29 (2023-12-14T18:48:27+0000)"
zep | time="2023-12-26T17:50:11Z" level=info msg="Log level set to: info"
zep | time="2023-12-26T17:50:11Z" level=fatal msg="store.type must be set"
Environment (please complete the following information):
- Zep version: [e.g. vX.X.X]
- Zep SDK and version: [e.g.
zep-js
orzep-python
and vX.X.X] - Deployment [e.g. using
docker compose
, to a hosted environment such as Render]
Note: The Zep server version is available in the Zep server logs at startup:
Starting zep server version 0.11.0-cbf4fe4 (2023-08-30T12:49:03+0000)
Additional context
Add any other context about the problem here.
Cloud deployments require deploying the zep-cloud
container.