-
Notifications
You must be signed in to change notification settings - Fork 2
/
task-def.json
86 lines (86 loc) · 2.99 KB
/
task-def.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
{
"family": "tapyrus-faucet",
"networkMode": "bridge",
"executionRoleArn": "arn:aws:iam::104420014930:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "tapyrus-faucet-app",
"image": "rantan39/tapyrus-faucet:master",
"essential": true,
"portMappings": [
{
"containerPort": 3000,
"hostPort": 3000,
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "tapyrus-faucet",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "app"
}
},
"environment": [
{
"name": "TAPYRUS_FAUCET_DATABASE_HOST",
"value": "tapyrus-db.cwpsbrlgqypl.ap-northeast-1.rds.amazonaws.com"
}, {
"name": "TAPYRUS_FAUCET_DATABASE_PORT",
"value": "3306"
}, {
"name": "RAILS_ENV",
"value": "production"
}
],
"secrets": [
{
"name": "RECAPTCHA_SITE_KEY",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/RECAPTCHA_SITE_KEY2-FuM24F"
}, {
"name": "RECAPTCHA_SECRET_KEY",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/RECAPTCHA_SECRET_KEY2-PbweB9"
}, {
"name": "TAPYRUS_RPC_USER",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/TAPYRUS_RPC_USER3-WfY5PI"
}, {
"name": "TAPYRUS_RPC_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/TAPYRUS_RPC_PASSWORD3-V6bsiD"
}, {
"name": "TAPYRUS_RPC_HOST",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/TAPYRUS_RPC_HOST3-N9ElX4"
}, {
"name": "TAPYRUS_RPC_PORT",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/TAPYRUS_RPC_PORT2-y8jiCd"
}, {
"name": "TAPYRUS_FAUCET_DATABASE_PASSWORD",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/TAPYRUS_FAUCET_DATABASE_PASSWORD2-zExu7i"
}, {
"name": "SECRET_KEY_BASE",
"valueFrom": "arn:aws:secretsmanager:ap-northeast-1:104420014930:secret:tapyrus/testnet/faucet/SECRET_KEY_BASE2-SgowNj"
}
]
}, {
"name": "tapyrus-faucet-nginx",
"image": "rantan39/tapyrus-faucet-nginx:master",
"portMappings": [
{
"containerPort": 80,
"hostPort": 80,
"protocol": "tcp"
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "tapyrus-faucet",
"awslogs-region": "ap-northeast-1",
"awslogs-stream-prefix": "nginx"
}
}
}
],
"cpu": "256",
"memory": "512"
}