mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-09-11 14:36:35 +03:00
feat: implement elasticache (#2234)
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
This commit is contained in:
parent
3c2d83b22f
commit
19c11944bc
@ -7,8 +7,6 @@ OPENAI_API_KEY=CHANGE_ME
|
||||
# OLLAMA_API_BASE_URL=http://host.docker.internal:11434 # Uncomment to activate ollama. This is the local url for the ollama api
|
||||
|
||||
|
||||
|
||||
|
||||
# This file is used to configure the Quivr stack. It is used by the `docker-compose.yml` file to configure the stack.
|
||||
|
||||
########
|
||||
|
@ -28,8 +28,8 @@ if CELERY_BROKER_URL.startswith("sqs"):
|
||||
elif CELERY_BROKER_URL.startswith("redis"):
|
||||
celery = Celery(
|
||||
__name__,
|
||||
broker=CELERY_BROKER_URL,
|
||||
backend=CELERY_BROKER_URL,
|
||||
broker=f"{CELERY_BROKER_URL}?ssl_cert_reqs=none",
|
||||
backend=f"{CELERY_BROKER_URL}?ssl_cert_reqs=none",
|
||||
task_concurrency=4,
|
||||
worker_prefetch_multiplier=2,
|
||||
task_serializer="json",
|
||||
|
@ -31,7 +31,7 @@ services:
|
||||
- 5678:5678 # debug port
|
||||
|
||||
redis:
|
||||
image: redis:latest@sha256:a7cee7c8178ff9b5297cb109e6240f5072cdaaafd775ce6b586c3c704b06458e
|
||||
image: redis:latest
|
||||
container_name: redis
|
||||
restart: always
|
||||
ports:
|
||||
|
@ -35,7 +35,6 @@ services:
|
||||
command:
|
||||
- "uvicorn"
|
||||
- "main:app"
|
||||
- "--reload"
|
||||
- "--host"
|
||||
- "0.0.0.0"
|
||||
- "--port"
|
||||
|
Loading…
Reference in New Issue
Block a user