mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
feat(aws): all in microservices
This commit is contained in:
parent
705e36e708
commit
b3a6231274
@ -17,7 +17,7 @@
|
||||
"essential": true,
|
||||
"command": [
|
||||
"uvicorn",
|
||||
"main:app",
|
||||
"chat_service:app",
|
||||
"--host",
|
||||
"0.0.0.0",
|
||||
"--port",
|
||||
|
@ -17,7 +17,7 @@
|
||||
"essential": true,
|
||||
"command": [
|
||||
"uvicorn",
|
||||
"main:app",
|
||||
"crawl_service:app",
|
||||
"--host",
|
||||
"0.0.0.0",
|
||||
"--port",
|
||||
|
@ -17,7 +17,7 @@
|
||||
"essential": true,
|
||||
"command": [
|
||||
"uvicorn",
|
||||
"main:app",
|
||||
"upload_service:app",
|
||||
"--host",
|
||||
"0.0.0.0",
|
||||
"--port",
|
||||
|
19
.github/workflows/aws.yml
vendored
19
.github/workflows/aws.yml
vendored
@ -2,9 +2,8 @@ name: Deploy to Amazon ECS
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
# tags:
|
||||
# - 'v*'
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
env:
|
||||
AWS_REGION: eu-west-3
|
||||
@ -99,10 +98,10 @@ jobs:
|
||||
container-name: ${{ matrix.container }}
|
||||
image: ${{env.ECR_REGISTRY}}/${{ env.ECR_REPOSITORY }}:${{ github.sha }}
|
||||
|
||||
# - name: Deploy Amazon ECS task definition for ${{ matrix.name }}
|
||||
# uses: aws-actions/amazon-ecs-deploy-task-definition@v1
|
||||
# with:
|
||||
# task-definition: ${{ steps.task-def.outputs.task-definition }}
|
||||
# service: ${{ matrix.service }}
|
||||
# cluster: ${{ env.ECS_CLUSTER }}
|
||||
# wait-for-service-stability: true
|
||||
- name: Deploy Amazon ECS task definition for ${{ matrix.name }}
|
||||
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
|
||||
with:
|
||||
task-definition: ${{ steps.task-def.outputs.task-definition }}
|
||||
service: ${{ matrix.service }}
|
||||
cluster: ${{ env.ECS_CLUSTER }}
|
||||
wait-for-service-stability: true
|
Loading…
Reference in New Issue
Block a user