-
Notifications
You must be signed in to change notification settings - Fork 3
/
taskdef.json
87 lines (87 loc) · 2.88 KB
/
taskdef.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
{
"ipcMode": null,
"executionRoleArn": "arn:aws:iam::678084882233:role/service-role/GokabotTaskExecutionRole",
"containerDefinitions": [
{
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "gokabot-core-api",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "gokabot-core-api"
}
},
"portMappings": [
{
"hostPort": 8080,
"protocol": "tcp",
"containerPort": 8080
}
],
"command": ["bundle", "exec", "rackup", "app/config.ru", "-o", "0.0.0.0", "-p", "8080"],
"environment": [
{
"name": "RACK_ENV",
"value": "production"
},
{
"name": "TZ",
"value": "Asia/Tokyo"
}
],
"secrets": [
{
"valueFrom": "gokabot.DATABASE_URL",
"name": "DATABASE_URL"
},
{
"valueFrom": "gokabot.DISCORD_BOT_TOKEN",
"name": "DISCORD_BOT_TOKEN"
},
{
"valueFrom": "gokabot.DISCORD_TARGET_CHANNEL_ID",
"name": "DISCORD_TARGET_CHANNEL_ID"
},
{
"valueFrom": "gokabot.DISCORD_TARGET_CHANNEL_ID_DEV",
"name": "DISCORD_TARGET_CHANNEL_ID_DEV"
},
{
"valueFrom": "gokabot.GOKABOU_USER_ID",
"name": "GOKABOU_USER_ID"
},
{
"valueFrom": "gokabot.KMT_GROUP_ID",
"name": "KMT_GROUP_ID"
},
{
"valueFrom": "gokabot.LINE_CHANNEL_SECRET",
"name": "LINE_CHANNEL_SECRET"
},
{
"valueFrom": "gokabot.LINE_CHANNEL_TOKEN",
"name": "LINE_CHANNEL_TOKEN"
},
{
"valueFrom": "gokabot.MY_USER_ID",
"name": "MY_USER_ID"
},
{
"valueFrom": "gokabot.NGA_GROUP_ID",
"name": "NGA_GROUP_ID"
},
{
"valueFrom": "gokabot.OPEN_WEATHER_API_KEY",
"name": "OPEN_WEATHER_API_KEY"
}
],
"image": "<IMAGE1_NAME>",
"name": "gokabot-core-api"
}
],
"memory": "512",
"family": "gokabot-core-api",
"requiresCompatibilities": ["FARGATE"],
"networkMode": "awsvpc",
"cpu": "256"
}