mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-27 16:30:56 +02:00
Prod Template Typesense API Key Typo (#209)
This commit is contained in:
parent
ab37b8e8ea
commit
f7be76dab3
@ -127,12 +127,12 @@ alembic upgrade head
|
|||||||
|
|
||||||
To run the backend API server, navigate to `danswer/backend` and run:
|
To run the backend API server, navigate to `danswer/backend` and run:
|
||||||
```bash
|
```bash
|
||||||
DISABLE_AUTH=True TYPESENSE_API_KEY=local_dev_typesense DYNAMIC_CONFIG_DIR_PATH=./dynamic_config_storage uvicorn danswer.main:app --reload --port 8080
|
DISABLE_AUTH=True TYPESENSE_API_KEY=typesense_api_key DYNAMIC_CONFIG_DIR_PATH=./dynamic_config_storage uvicorn danswer.main:app --reload --port 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
To run the background job to check for connector updates and index documents, navigate to `danswer/backend` and run:
|
To run the background job to check for connector updates and index documents, navigate to `danswer/backend` and run:
|
||||||
```bash
|
```bash
|
||||||
PYTHONPATH=. TYPESENSE_API_KEY=local_dev_typesense DYNAMIC_CONFIG_DIR_PATH=./dynamic_config_storage python danswer/background/update.py
|
PYTHONPATH=. TYPESENSE_API_KEY=typesense_api_key DYNAMIC_CONFIG_DIR_PATH=./dynamic_config_storage python danswer/background/update.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: if you need finer logging, add the additional environment variable `LOG_LEVEL=DEBUG` to the relevant services.
|
Note: if you need finer logging, add the additional environment variable `LOG_LEVEL=DEBUG` to the relevant services.
|
||||||
|
@ -20,7 +20,7 @@ services:
|
|||||||
- POSTGRES_HOST=relational_db
|
- POSTGRES_HOST=relational_db
|
||||||
- QDRANT_HOST=vector_db
|
- QDRANT_HOST=vector_db
|
||||||
- TYPESENSE_HOST=search_engine
|
- TYPESENSE_HOST=search_engine
|
||||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-local_dev_typesense}
|
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-typesense_api_key}
|
||||||
- LOG_LEVEL=${LOG_LEVEL:-info}
|
- LOG_LEVEL=${LOG_LEVEL:-info}
|
||||||
- DISABLE_AUTH=${DISABLE_AUTH:-True}
|
- DISABLE_AUTH=${DISABLE_AUTH:-True}
|
||||||
- GOOGLE_OAUTH_CLIENT_ID=${GOOGLE_OAUTH_CLIENT_ID:-}
|
- GOOGLE_OAUTH_CLIENT_ID=${GOOGLE_OAUTH_CLIENT_ID:-}
|
||||||
@ -43,7 +43,7 @@ services:
|
|||||||
- POSTGRES_HOST=relational_db
|
- POSTGRES_HOST=relational_db
|
||||||
- QDRANT_HOST=vector_db
|
- QDRANT_HOST=vector_db
|
||||||
- TYPESENSE_HOST=search_engine
|
- TYPESENSE_HOST=search_engine
|
||||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-local_dev_typesense}
|
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-typesense_api_key}
|
||||||
- DANSWER_BOT_SLACK_APP_TOKEN=${DANSWER_BOT_SLACK_APP_TOKEN:-}
|
- DANSWER_BOT_SLACK_APP_TOKEN=${DANSWER_BOT_SLACK_APP_TOKEN:-}
|
||||||
- DANSWER_BOT_SLACK_BOT_TOKEN=${DANSWER_BOT_SLACK_BOT_TOKEN:-}
|
- DANSWER_BOT_SLACK_BOT_TOKEN=${DANSWER_BOT_SLACK_BOT_TOKEN:-}
|
||||||
volumes:
|
volumes:
|
||||||
@ -85,7 +85,7 @@ services:
|
|||||||
image: typesense/typesense:0.24.1
|
image: typesense/typesense:0.24.1
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-local_dev_typesense}
|
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-typesense_api_key}
|
||||||
- TYPESENSE_DATA_DIR=/typesense/storage
|
- TYPESENSE_DATA_DIR=/typesense/storage
|
||||||
ports:
|
ports:
|
||||||
- "8108:8108"
|
- "8108:8108"
|
||||||
|
@ -7,6 +7,6 @@ type: Opaque
|
|||||||
data:
|
data:
|
||||||
postgres_user: cG9zdGdyZXM= # "postgres" base64 encoded
|
postgres_user: cG9zdGdyZXM= # "postgres" base64 encoded
|
||||||
postgres_password: cGFzc3dvcmQ= # "password" base64 encoded
|
postgres_password: cGFzc3dvcmQ= # "password" base64 encoded
|
||||||
typesense_api_key: bG9jYWxfZGV2X3R5cGVzZW5zZQ== # "local_dev_typesense" base64 encoded
|
typesense_api_key: dHlwZXNlbnNlX2FwaV9rZXk= # "typesense_api_key" base64 encoded
|
||||||
google_oauth_client_id: REPLACE-THIS # You will need to provide this, use echo -n "your-client-id" | base64
|
google_oauth_client_id: REPLACE-THIS # You will need to provide this, use echo -n "your-client-id" | base64
|
||||||
google_oauth_client_secret: REPLACE-THIS # You will need to provide this, use echo -n "your-client-id" | base64
|
google_oauth_client_secret: REPLACE-THIS # You will need to provide this, use echo -n "your-client-id" | base64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user