Local hosting with docker compose #312
Unanswered
waterworthd-cim
asked this question in
Q&A
Replies: 1 comment
|
After purging all docker images/containers/network etcI ended up following "Quick Start (Local Version)" i.e. That seemed to work - it used postgres:latest rather than postgres:17 but I'm not sure that was the issue or not |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to get better-chatbot running locally using docker and I'm running into issues with postgres
I've followed the
I'm probably misreading but I've followed the instructions in
Quick Start (Docker Compose Version)(https://github.com/cgoinglove/better-chatbot?tab=readme-ov-file#quick-start-docker-compose-version-)I'm confused about what exactly I need to put into the
.envfile and where it should be located - the README.md states "Enter only the LLM PROVIDER API key(s) you want to use in the .env file at the project root." which I've done - butpnpm docker-compose:upfails becasue it's expecting a.envfile in the docker folder.I copied it there and docker build suceeds but then when I look at the logs I see
The env.example file also contains
But I assumed this is when you BYO your won db - is this incorrect, is there some additional PG config required? ASsuming POSTGRES_URL is also used what should I set for the user/pwd/db name?
And is BETTER_AUTH_SECRET required or optional?
All reactions