DAN-164 Background slack job to give up after 5 tries

also minor docker compose change
This commit is contained in:
Yuhong Sun 2023-07-07 17:19:24 -07:00 committed by GitHub
parent b4759403ac
commit 79013ac9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -28,3 +28,4 @@ redirect_stderr=true
stdout_logfile_maxbytes=52428800
autorestart=true
startretries=5
startsecs=60

View File

@ -33,6 +33,8 @@ services:
- QDRANT_HOST=vector_db
- TYPESENSE_HOST=search_engine
- TYPESENSE_API_KEY=${TYPESENSE_API_KEY:-local_dev_typesense}
- DANSWER_BOT_SLACK_APP_TOKEN=${DANSWER_BOT_SLACK_APP_TOKEN:-}
- DANSWER_BOT_SLACK_BOT_TOKEN=${DANSWER_BOT_SLACK_BOT_TOKEN:-}
volumes:
- local_dynamic_storage:/home/storage
- file_connector_tmp_storage:/home/file_connector_storage