Server Settings
Server settings are supplied through environment variables. You may choose to manually export/inject these variables, or you can provide the server with a .env file. Upon server start-up, these variables will be injected into the environment.
Quick Find
Section titled “Quick Find”General
Section titled “General”Coming soon...
Postgres
Section titled “Postgres”POSTGRES_HOST
Section titled “POSTGRES_HOST”- Description: Hostname of the PostgreSQL server
- Required: Yes
- Default Value: localhost
POSTGRES_DB
Section titled “POSTGRES_DB”- Description: Name of the PostgreSQL database
- Required: Yes
- Default Value: pephub
POSTGRES_USER
Section titled “POSTGRES_USER”- Description: PostgreSQL username
- Required: Yes
- Default Value: postgres
POSTGRES_PASSWORD
Section titled “POSTGRES_PASSWORD”- Description: PostgreSQL password
- Required: Yes
- Default Value: docker
POSTGRES_PORT
Section titled “POSTGRES_PORT”- Description: PostgreSQL port
- Required: Yes
- Default Value: 5432
Qdrant
Section titled “Qdrant”QDRANT_HOST
Section titled “QDRANT_HOST”- Description: Hostname of the Qdrant server
- Required: No
- Default Value: localhost
QDRANT_PORT
Section titled “QDRANT_PORT”- Description: Port of the Qdrant server
- Required: No
- Default Value: 6333
QDRANT_ENABLED
Section titled “QDRANT_ENABLED”- Description: Enable/disable Qdrant functionality
- Required: No
- Default Value: False
QDRANT_API_KEY
Section titled “QDRANT_API_KEY”- Description: API key for connecting to Qdrant
- Required: No
- Default Value: Not applicable
Github Client
Section titled “Github Client”GH_CLIENT_ID
Section titled “GH_CLIENT_ID”- Description: GitHub client ID
- Required: Yes
- Default Value: Not applicable
GH_CLIENT_SECRET
Section titled “GH_CLIENT_SECRET”- Description: GitHub client secret
- Required: Yes
- Default Value: Not applicable
REDIRECT_URI
Section titled “REDIRECT_URI”- Description: URI to redirect to after GitHub OAuth flow
- Required: Yes
- Default Value: http://localhost:8000/auth/callback
Sentence Transformer
Section titled “Sentence Transformer”HF_MODEL
Section titled “HF_MODEL”- Description: HuggingFace model name
- Required: No
- Default Value: "BAAI/bge-small-en-v1.5"