diff --git a/deployment/docker-compose-azure.yaml b/deployment/docker-compose-azure.yaml index 601831e5..9e8b6fce 100644 --- a/deployment/docker-compose-azure.yaml +++ b/deployment/docker-compose-azure.yaml @@ -1,6 +1,6 @@ services: frontend: - build: ./frontend + build: ../frontend environment: - VITE_API_HOST=http://localhost:7091 - VITE_API_STREAMING=$VITE_API_STREAMING @@ -10,7 +10,7 @@ services: - backend backend: - build: ./application + build: ../application environment: - API_KEY=$OPENAI_API_KEY - EMBEDDINGS_KEY=$OPENAI_API_KEY @@ -25,15 +25,15 @@ services: ports: - "7091:7091" volumes: - - ./application/indexes:/app/application/indexes - - ./application/inputs:/app/application/inputs - - ./application/vectors:/app/application/vectors + - ../application/indexes:/app/application/indexes + - ../application/inputs:/app/application/inputs + - ../application/vectors:/app/application/vectors depends_on: - redis - mongo worker: - build: ./application + build: ../application command: celery -A application.app.celery worker -l INFO environment: - API_KEY=$OPENAI_API_KEY diff --git a/deployment/docker-compose-local.yaml b/deployment/docker-compose-local.yaml index d9fd248b..77a82866 100644 --- a/deployment/docker-compose-local.yaml +++ b/deployment/docker-compose-local.yaml @@ -1,8 +1,8 @@ services: frontend: - build: ./frontend + build: ../frontend volumes: - - ./frontend/src:/app/src + - ../frontend/src:/app/src environment: - VITE_API_HOST=http://localhost:7091 - VITE_API_STREAMING=$VITE_API_STREAMING diff --git a/deployment/docker-compose.yaml b/deployment/docker-compose.yaml index b1d083a0..15d9522f 100644 --- a/deployment/docker-compose.yaml +++ b/deployment/docker-compose.yaml @@ -1,8 +1,8 @@ services: frontend: - build: ./frontend + build: ../frontend volumes: - - ./frontend/src:/app/src + - ../frontend/src:/app/src environment: - VITE_API_HOST=http://localhost:7091 - VITE_API_STREAMING=$VITE_API_STREAMING @@ -12,7 +12,7 @@ services: - backend backend: - build: ./application + build: ../application environment: - API_KEY=$API_KEY - EMBEDDINGS_KEY=$API_KEY @@ -26,15 +26,15 @@ services: ports: - "7091:7091" volumes: - - ./application/indexes:/app/application/indexes - - ./application/inputs:/app/application/inputs - - ./application/vectors:/app/application/vectors + - ../application/indexes:/app/application/indexes + - ../application/inputs:/app/application/inputs + - ../application/vectors:/app/application/vectors depends_on: - redis - mongo worker: - build: ./application + build: ../application command: celery -A application.app.celery worker -l INFO -B environment: - API_KEY=$API_KEY