mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-20 21:33:56 +02:00
File connector (#93)
* Initial backend changes for file connector * Add another background job to clean up files * UI + tweaks for backend
This commit is contained in:
@@ -21,6 +21,7 @@ services:
|
||||
- DISABLE_AUTH=True
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
background:
|
||||
build:
|
||||
context: ../backend
|
||||
@@ -34,8 +35,11 @@ services:
|
||||
environment:
|
||||
- POSTGRES_HOST=relational_db
|
||||
- QDRANT_HOST=vector_db
|
||||
- TYPESENSE_HOST=search_engine
|
||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-local_dev_typesense}
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
web_server:
|
||||
build:
|
||||
context: ../web
|
||||
@@ -99,6 +103,7 @@ services:
|
||||
&& while :; do sleep 6h & wait $${!}; nginx -s reload; done & nginx -g \"daemon off;\""
|
||||
volumes:
|
||||
local_dynamic_storage:
|
||||
file_connector_tmp_storage: # used to store files uploaded by the user temporarily while we are indexing them
|
||||
db_volume:
|
||||
qdrant_volume:
|
||||
typesense_volume:
|
||||
|
@@ -18,6 +18,7 @@ services:
|
||||
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-local_dev_typesense}
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
background:
|
||||
build:
|
||||
context: ../backend
|
||||
@@ -33,6 +34,7 @@ services:
|
||||
- QDRANT_HOST=vector_db
|
||||
volumes:
|
||||
- local_dynamic_storage:/home/storage
|
||||
- file_connector_tmp_storage:/home/file_connector_storage
|
||||
web_server:
|
||||
build:
|
||||
context: ../web
|
||||
@@ -98,6 +100,7 @@ services:
|
||||
entrypoint: "/bin/sh -c 'trap exit TERM; while :; do certbot renew; sleep 12h & wait $${!}; done;'"
|
||||
volumes:
|
||||
local_dynamic_storage:
|
||||
file_connector_tmp_storage: # used to store files uploaded by the user temporarily while we are indexing them
|
||||
db_volume:
|
||||
qdrant_volume:
|
||||
typesense_volume:
|
||||
|
Reference in New Issue
Block a user