This commit is contained in:
Alex 2023-10-03 10:50:49 +01:00
parent 46c78c33cf
commit 4175d29056

View File

@ -14,8 +14,8 @@ services:
backend:
build: ./application
environment:
- API_KEY=$OPENAI_API_KEY
- EMBEDDINGS_KEY=$OPENAI_API_KEY
- API_KEY=$API_KEY
- EMBEDDINGS_KEY=$API_KEY
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/1
- MONGO_URI=mongodb://mongo:27017/docsgpt
@ -34,8 +34,8 @@ services:
build: ./application
command: celery -A application.app.celery worker -l INFO
environment:
- API_KEY=$OPENAI_API_KEY
- EMBEDDINGS_KEY=$OPENAI_API_KEY
- API_KEY=$API_KEY
- EMBEDDINGS_KEY=$API_KEY
- CELERY_BROKER_URL=redis://redis:6379/0
- CELERY_RESULT_BACKEND=redis://redis:6379/1
- MONGO_URI=mongodb://mongo:27017/docsgpt