-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtaskdefinition.json
51 lines (51 loc) · 1.58 KB
/
taskdefinition.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
{
"taskDefinition": {
"containerDefinitions": [
{
"image": "${image}",
"essential": true,
"memoryReservation": 512,
"portMappings": [
{
"containerPort": 3000,
"hostPort": 0
}
],
"environment": [
{
"name": "AWS_REGION",
"value": "${region}"
},
{
"name": "CONFIG_COMMIT_HASH",
"value": "${config_commit_hash}"
},
{
"name": "DB_HOST",
"value": "${db_host}"
},
{
"name": "DB_USER",
"value": "${db_user}"
},
{
"name": "DB_PASS",
"value": "${db_pass}"
},
{
"name": "DB_NAME",
"value": "${db_name}"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/${environment}/app",
"awslogs-region": "${region}",
"awslogs-stream-prefix": "app-logs"
}
}
}
]
}
}