mirror of
https://github.com/StanGirard/quivr.git
synced 2024-08-17 00:50:37 +03:00
feat(cors): changed to production value
This commit is contained in:
parent
dc495523cc
commit
ce11a9d54a
@ -1,9 +1,9 @@
|
||||
{
|
||||
"taskDefinitionArn": "arn:aws:ecs:eu-west-3:253053805092:task-definition/quivr:32",
|
||||
"taskDefinitionArn": "arn:aws:ecs:eu-west-3:253053805092:task-definition/quivr:5",
|
||||
"containerDefinitions": [
|
||||
{
|
||||
"name": "quivr",
|
||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:0c7a11ada31c57d0c203225803a37b5b92696a7c",
|
||||
"image": "253053805092.dkr.ecr.eu-west-3.amazonaws.com/quivr:dc495523cc930780e59c40653043ee570af110eb",
|
||||
"cpu": 256,
|
||||
"memory": 512,
|
||||
"portMappings": [
|
||||
@ -17,6 +17,12 @@
|
||||
],
|
||||
"essential": true,
|
||||
"environment": [],
|
||||
"environmentFiles": [
|
||||
{
|
||||
"value": "arn:aws:s3:::quivr-env-variables/production.env",
|
||||
"type": "s3"
|
||||
}
|
||||
],
|
||||
"mountPoints": [],
|
||||
"volumesFrom": [],
|
||||
"logConfiguration": {
|
||||
@ -31,9 +37,10 @@
|
||||
}
|
||||
],
|
||||
"family": "quivr",
|
||||
"taskRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
||||
"executionRoleArn": "arn:aws:iam::253053805092:role/ecsTaskExecutionRole",
|
||||
"networkMode": "awsvpc",
|
||||
"revision": 32,
|
||||
"revision": 5,
|
||||
"volumes": [],
|
||||
"status": "ACTIVE",
|
||||
"requiresAttributes": [
|
||||
@ -49,6 +56,12 @@
|
||||
{
|
||||
"name": "com.amazonaws.ecs.capability.docker-remote-api.1.19"
|
||||
},
|
||||
{
|
||||
"name": "ecs.capability.env-files.s3"
|
||||
},
|
||||
{
|
||||
"name": "com.amazonaws.ecs.capability.task-iam-role"
|
||||
},
|
||||
{
|
||||
"name": "ecs.capability.execution-role-ecr-pull"
|
||||
},
|
||||
@ -70,13 +83,13 @@
|
||||
"requiresCompatibilities": [
|
||||
"FARGATE"
|
||||
],
|
||||
"cpu": "256",
|
||||
"memory": "512",
|
||||
"cpu": "512",
|
||||
"memory": "1024",
|
||||
"runtimePlatform": {
|
||||
"cpuArchitecture": "X86_64",
|
||||
"operatingSystemFamily": "LINUX"
|
||||
},
|
||||
"registeredAt": "2023-04-01T15:02:18.838Z",
|
||||
"registeredAt": "2023-06-02T08:27:05.135Z",
|
||||
"registeredBy": "arn:aws:iam::253053805092:root",
|
||||
"tags": []
|
||||
}
|
@ -35,7 +35,7 @@ app = FastAPI()
|
||||
origins = [
|
||||
"http://localhost",
|
||||
"http://localhost:3000",
|
||||
"*",
|
||||
"https://api.quivr.app"
|
||||
]
|
||||
|
||||
app.add_middleware(
|
||||
|
Loading…
Reference in New Issue
Block a user