-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask_def.frontend.json
64 lines (63 loc) · 1.86 KB
/
task_def.frontend.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
{
"family": "treasure-2020-b-front",
"executionRoleArn": "arn:aws:iam::281032752072:role/ecs-exec-role",
"containerDefinitions": [
{
"name": "treasure-2020-b-front",
"image": "281032752072.dkr.ecr.ap-northeast-1.amazonaws.com/treasure-2020-b:frontend",
"privileged": true,
"cpu": 512,
"memory": 1024,
"ulimits": [
{
"name": "nofile",
"softLimit": 1024,
"hardLimit": 1024
}
],
"environment": [
{ "name": "BACKEND_API_BASE", "value": "https://api.group-b.treasure2020.dojo-voyage.net" }
],
"secrets": [
{
"name": "FIREBASE_APIKEY",
"valueFrom": "arn:aws:ssm:ap-northeast-1:281032752072:parameter/gcp/firebase/apikey"
},
{
"name": "FIREBASE_AUTHDOMAIN",
"valueFrom": "arn:aws:ssm:ap-northeast-1:281032752072:parameter/gcp/firebase/authdomain"
},
{
"name": "ZOOM_CLIENT_ID",
"valueFrom": "arn:aws:ssm:ap-northeast-1:281032752072:parameter/zoom/client_id"
},
{
"name": "ZOOM_REDIRECT_URI",
"valueFrom": "arn:aws:ssm:ap-northeast-1:281032752072:parameter/zoom/redirect_url"
},
{
"name": "PAYJP_PK_TEST",
"valueFrom": "arn:aws:ssm:ap-northeast-1:281032752072:parameter/payjp/pk_test"
}
],
"command": ["parcel index.html"],
"entryPoint": ["sh", "-c"],
"portMappings": [
{
"hostPort": 0,
"protocol": "tcp",
"containerPort": 1234
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "treasure-2020-b/container/frontend",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "service"
}
}
}
],
"networkMode": "bridge"
}