mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
Fix Container Name (#633)
This commit is contained in:
parent
76275b29d4
commit
7bc34ce182
@ -95,9 +95,9 @@ playwright install
|
||||
#### Dependent Docker Containers
|
||||
First navigate to `danswer/deployment/docker_compose`, then start up Vespa and Postgres with:
|
||||
```bash
|
||||
docker compose -f docker-compose.dev.yml -p danswer-stack up -d document_index relational_db
|
||||
docker compose -f docker-compose.dev.yml -p danswer-stack up -d index relational_db
|
||||
```
|
||||
(document_index refers to Vespa and relational_db refers to Postgres)
|
||||
(index refers to Vespa and relational_db refers to Postgres)
|
||||
|
||||
#### Running Danswer
|
||||
|
||||
|
@ -11,7 +11,7 @@ services:
|
||||
uvicorn danswer.main:app --host 0.0.0.0 --port 8080"
|
||||
depends_on:
|
||||
- relational_db
|
||||
- document_index
|
||||
- index
|
||||
restart: always
|
||||
ports:
|
||||
- "8080:8080"
|
||||
@ -23,7 +23,7 @@ services:
|
||||
- GEN_AI_HOST_TYPE=${GEN_AI_HOST_TYPE:-}
|
||||
- NUM_DOCUMENT_TOKENS_FED_TO_GENERATIVE_MODEL=${NUM_DOCUMENT_TOKENS_FED_TO_GENERATIVE_MODEL:-}
|
||||
- POSTGRES_HOST=relational_db
|
||||
- VESPA_HOST=document_index
|
||||
- VESPA_HOST=index
|
||||
- AUTH_TYPE=${AUTH_TYPE:-disabled}
|
||||
- QA_TIMEOUT=${QA_TIMEOUT:-}
|
||||
- VALID_EMAIL_DOMAINS=${VALID_EMAIL_DOMAINS:-}
|
||||
@ -60,7 +60,7 @@ services:
|
||||
command: /usr/bin/supervisord
|
||||
depends_on:
|
||||
- relational_db
|
||||
- document_index
|
||||
- index
|
||||
restart: always
|
||||
environment:
|
||||
- INTERNAL_MODEL_VERSION=${INTERNAL_MODEL_VERSION:-openai-chat-completion}
|
||||
@ -69,7 +69,7 @@ services:
|
||||
- GEN_AI_ENDPOINT=${GEN_AI_ENDPOINT:-}
|
||||
- GEN_AI_HOST_TYPE=${GEN_AI_HOST_TYPE:-}
|
||||
- POSTGRES_HOST=relational_db
|
||||
- VESPA_HOST=document_index
|
||||
- VESPA_HOST=index
|
||||
- API_BASE_OPENAI=${API_BASE_OPENAI:-}
|
||||
- API_TYPE_OPENAI=${API_TYPE_OPENAI:-}
|
||||
- API_VERSION_OPENAI=${API_VERSION_OPENAI:-}
|
||||
@ -129,7 +129,8 @@ services:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- db_volume:/var/lib/postgresql/data
|
||||
document_index:
|
||||
# This container name cannot have an underscore in it due to Vespa expectations of the URL
|
||||
index:
|
||||
image: vespaengine/vespa:8
|
||||
restart: always
|
||||
ports:
|
||||
|
@ -11,14 +11,14 @@ services:
|
||||
uvicorn danswer.main:app --host 0.0.0.0 --port 8080"
|
||||
depends_on:
|
||||
- relational_db
|
||||
- document_index
|
||||
- index
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- AUTH_TYPE=${AUTH_TYPE:-google_oauth}
|
||||
- POSTGRES_HOST=relational_db
|
||||
- VESPA_HOST=document_index
|
||||
- VESPA_HOST=index
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
@ -33,14 +33,14 @@ services:
|
||||
command: /usr/bin/supervisord
|
||||
depends_on:
|
||||
- relational_db
|
||||
- document_index
|
||||
- index
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- AUTH_TYPE=${AUTH_TYPE:-google_oauth}
|
||||
- POSTGRES_HOST=relational_db
|
||||
- VESPA_HOST=document_index
|
||||
- VESPA_HOST=index
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
@ -69,7 +69,8 @@ services:
|
||||
- .env
|
||||
volumes:
|
||||
- db_volume:/var/lib/postgresql/data
|
||||
document_index:
|
||||
# This container name cannot have an underscore in it due to Vespa expectations of the URL
|
||||
index:
|
||||
image: vespaengine/vespa:8
|
||||
restart: always
|
||||
ports:
|
||||
|
@ -11,14 +11,14 @@ services:
|
||||
uvicorn danswer.main:app --host 0.0.0.0 --port 8080"
|
||||
depends_on:
|
||||
- relational_db
|
||||
- document_index
|
||||
- index
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- AUTH_TYPE=${AUTH_TYPE:-google_oauth}
|
||||
- POSTGRES_HOST=relational_db
|
||||
- VESPA_HOST=document_index
|
||||
- VESPA_HOST=index
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
@ -33,14 +33,14 @@ services:
|
||||
command: /usr/bin/supervisord
|
||||
depends_on:
|
||||
- relational_db
|
||||
- document_index
|
||||
- index
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- AUTH_TYPE=${AUTH_TYPE:-google_oauth}
|
||||
- POSTGRES_HOST=relational_db
|
||||
- VESPA_HOST=document_index
|
||||
- VESPA_HOST=index
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
@ -69,7 +69,8 @@ services:
|
||||
- .env
|
||||
volumes:
|
||||
- db_volume:/var/lib/postgresql/data
|
||||
document_index:
|
||||
# This container name cannot have an underscore in it due to Vespa expectations of the URL
|
||||
index:
|
||||
image: vespaengine/vespa:8
|
||||
restart: always
|
||||
ports:
|
||||
|
Loading…
x
Reference in New Issue
Block a user