-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtask-def-staging.json
More file actions
80 lines (80 loc) · 2.28 KB
/
task-def-staging.json
File metadata and controls
80 lines (80 loc) · 2.28 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
{
"family": "nexd-staging",
"executionRoleArn": "arn:aws:iam::729690866396:role/ecsTaskExecutionRole",
"networkMode": "awsvpc",
"containerDefinitions": [
{
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "nexd-staging",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "nexd-staging-"
}
},
"name": "nexd-backend-staging",
"image": "httpd:2.4",
"portMappings": [
{
"containerPort": 3001,
"hostPort": 3001,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": ["sh", "-c"],
"command": ["npm run start:prod:withmigrations"],
"environment": [
{
"name": "ARTICLE_REQUIRED_FOR_VERIFICATION",
"value": "2"
},
{
"name": "PORT",
"value": "3001"
},
{
"name": "API_PORT",
"value": "443"
},
{
"name": "API_ROOT_URL",
"value": "https://api-staging.nexd.app"
},
{
"name": "JWT_EXPIRATION_TIME_SECONDS",
"value": "3600"
},
{
"name": "DATABASE_HOST",
"value": "nexd-postgres-staging.cvqvr9vqnzw5.eu-central-1.rds.amazonaws.com"
}
],
"secrets": [
{
"name": "DATABASE_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:729690866396:secret:nexd-staging-database-password-KMmMeE"
},
{
"name": "ADMIN_SECRET",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:729690866396:secret:nexd-staging-admin-secret-oL3kKR"
},
{
"name": "JWT_SECRET",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:729690866396:secret:nexd-staging-jwt-secret-PA5lT4"
},
{
"name": "TWILIO_ACCOUNT_SID",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:729690866396:secret:nexd-staging-twilio-sid-5sO8Ml"
},
{
"name": "TWILIO_AUTH_TOKEN",
"valueFrom": "arn:aws:secretsmanager:eu-central-1:729690866396:secret:nexd-staging-twilio-auth-token-kQppd8"
}
]
}
],
"requiresCompatibilities": ["FARGATE"],
"cpu": "256",
"memory": "512"
}