-
Notifications
You must be signed in to change notification settings - Fork 26
/
task-definition.json
102 lines (102 loc) · 3.43 KB
/
task-definition.json
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
96
97
98
99
100
101
102
{
"containerDefinitions": [
{
"name": "container-name",
"image": "nginx:latest",
"cpu": 2048,
"memory": 4096,
"portMappings": [
{
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
],
"essential": true,
"environment": [{
"name": "NODE_ENV",
"value": "production"
}],
"mountPoints": [],
"volumesFrom": [],
"secrets": [
{
"name": "MONGOURL",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MONGOURL::"
},
{
"name": "REDIS_URL",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:REDIS_URL::"
},
{
"name": "MAIL_RECEIVERS",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MAIL_RECEIVERS::"
},
{
"name": "MAIL_SUBJECT",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MAIL_SUBJECT::"
},
{
"name": "MAIL_SUBJECT_PROVIDER",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MAIL_SUBJECT_PROVIDER::"
},
{
"name": "MAILGUN_FROM",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MAILGUN_FROM::"
},
{
"name": "MAILGUN_DOMAIN",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MAILGUN_DOMAIN::"
},
{
"name": "MAILGUN_API_KEY",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:MAILGUN_API_KEY::"
},
{
"name": "EMAIL_SMTP",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:EMAIL_SMTP::"
},
{
"name": "EMAIL_PORT",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:EMAIL_PORT::"
},
{
"name": "EMAIL_USER",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:EMAIL_USER::"
},
{
"name": "EMAIL_PASS",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:EMAIL_PASS::"
},
{
"name": "AFET_HARITA_URL",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:AFET_HARITA_URL::"
},
{
"name": "AFET_HARITA_KEY",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:366354050833:secret:depremio-prod-env-oZ5Dz9:AFET_HARITA_KEY::"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-create-group": "true",
"awslogs-group": "/ecs/depremio-api",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "ecs"
}
}
}
],
"family": "depremio-api",
"executionRoleArn": "arn:aws:iam::366354050833:role/ecsServiceRole",
"networkMode": "awsvpc",
"volumes": [],
"placementConstraints": [],
"requiresCompatibilities": [
"FARGATE"
],
"cpu": "2048",
"memory": "4096",
"tags": []
}