diff --git a/docker-compose.yaml b/docker-compose.yaml index aaef62ea..7535a4b1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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