Skip to content

Using Khoj with the Postgres DB on Remote Server #594

Answered by sabaimran
Yi-Lyu asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Yi-Lyu , the Khoj application takes in the following environment variables:

POSTGRES_DB
POSTGRES_USER
POSTGRES_PASSWORD
POSTGRES_HOST

By setting these, you can configure the connection between your Khoj server and your remote DB. If you're using Docker, you can directly update the environment variables. If you're using the local code or pypi package directly, you can set them however you configure your environment variables in your CLI.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by debanjum
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #588 on December 22, 2023 13:35.