-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] #341
Comments
If you’re deploying to a cloud environment or container orchestrator please use the zep-cloud container. |
Thank you for the suggestion to use the However, I'm still encountering an issue where the Zep container is unable to connect to the PostgreSQL database. The logs show the following error:
It appears that the Zep container is trying to connect to a PostgreSQL server running on the local machine (127.0.0.1) at the default port (5432), but the connection is being refused. Here's the relevant part of my updated zep:
image: ghcr.io/getzep/zep-cloud:${ZEP_DOCKER_TAG-latest}
container_name: zep
volumes:
- zep:/app/backend/data
ports:
- "5555:8000"
env_file:
- ./backend/.env
environment:
- ZEP_OPENAI_API_KEY=${ZEP_OPENAI_API_KEY-}
- STORE_TYPE=postgres
restart: unless-stopped or
I've set the Could you please provide guidance on how to resolve this connection issue? Do I need to set up a separate PostgreSQL service in my Any help or further suggestions would be greatly appreciated. Let me know if you need any additional information or context. Thank you! |
|
Please ensure you're prefixing Zep's environment variables with |
|
|
I have made the suggested changes same error.
|
Please set your Postgres DSN environment variable correctly. There's no Line 51 in 919596e
|
|
|
Getting the same error
|
Describe the bug
The Zep container fails to start due to a missing configuration for
store.type
. The error messagestore.type must be set
is logged, indicating that Zep requires thestore.type
configuration to be specified.To Reproduce
docker-compose.yaml
file to include the Zep service without specifying theSTORE_TYPE
andSTORE_SQLITE_PATH
environment variables.docker-compose up -d
to start the containers.docker logs zep
.store.type must be set
in the Zep container logs.Expected behavior
The Zep container should start successfully without any errors related to the
store.type
configuration.Logs
The relevant logs from the Zep container are as follows:
Environment:
docker-compose
Additional context
The issue occurs when running Zep using Docker Compose without specifying the required
STORE_TYPE
andSTORE_SQLITE_PATH
environment variables in thedocker-compose.yaml
file.To resolve the issue, the following changes were suggested:
Update the
docker-compose.yaml
file to include the necessary environment variables for the Zep service:Restart the containers using
docker-compose down
anddocker-compose up -d
.I also just set it to postgres as well same issue
The text was updated successfully, but these errors were encountered: