-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask-definition.json
More file actions
95 lines (95 loc) · 2.97 KB
/
Copy pathtask-definition.json
File metadata and controls
95 lines (95 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"executionRoleArn": "arn:aws:iam::730866387406:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "clocktime-app",
"image": "clocktime-stack/ecs-clocktime-app:latest",
"cpu": "256",
"memory": "256",
"essential": true,
"portMappings": [
{
"hostPort": 5000,
"protocol": "tcp",
"containerPort": 5000
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/clocktime-app",
"awslogs-create-group": "true",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs-clocktime-app"
}
},
"environment": [
{
"name": "FLASK_ENV",
"value": "production"
},
{
"name": "LOG_LEVEL",
"value": "debug"
},
{
"name": "SECRET_KEY_BASE",
"value": "fLtqRxhPGJ9Z0mQDnffuRUBEL_FYf5ueLHSXbPRIuVY"
},
{
"name": "GUNICORN_WORKERS",
"value": "4"
},
{
"name": "SEND_FILE_MAX_AGE_DEFAULT",
"value": "3155692"
},
{
"name": "FLASK_DEBUG",
"value": "1"
},
{
"name": "OTEL_PYTHON_FLASK_EXCLUDED_URLS",
"value": "client/.*/info,healthcheck"
},
{
"name": "DSN_SENTRY",
"value": "https://936bfeb3bf734d64a3d3dab62d39dc9a@o4505196034981888.ingest.sentry.io/4505196056346624"
}
]
},
{
"name": "clocktime-nginx",
"image": "clocktime-stack/ecs-clocktime-nginx:latest",
"cpu": "256",
"memory": "256",
"essential": true,
"portMappings": [
{
"hostPort": 80,
"protocol": "tcp",
"containerPort": 80
}
],
"links": [
"clocktime-app"
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/clocktime-nginx",
"awslogs-create-group": "true",
"awslogs-region": "us-east-1",
"awslogs-stream-prefix": "ecs-clocktime-nginx"
}
}
}
],
"requiresCompatibilities": [
"EC2"
],
"placementConstraints": [],
"volumes": [],
"family": "ecs-clocktime-stack",
"networkMode": "bridge"
}