This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task-definition.json
65 lines (65 loc) · 1.82 KB
/
task-definition.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
{
"family": "devnet-demo-services",
"taskRoleArn": "arn:aws:iam::348099934012:role/ecsTaskExecutionRole",
"executionRoleArn": "arn:aws:iam::348099934012:role/ecsTaskExecutionRole",
"containerDefinitions": [
{
"name": "demo-services",
"image": "348099934012.dkr.ecr.eu-central-1.amazonaws.com/kilt/prototype-services:0.13.2",
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "/ecs/kilt-prototype-services-taskdef",
"awslogs-region": "eu-central-1",
"awslogs-stream-prefix": "ecs"
}
},
"portMappings": [
{
"containerPort": 3000,
"hostPort": 3000,
"protocol": "tcp"
}
],
"secrets": [
{
"name": "FAUCET_ACCOUNT",
"valueFrom": "arn:aws:ssm:eu-central-1:348099934012:parameter/ECS/devnet/faucet_account"
},
{
"name": "MONGODB_USER",
"valueFrom": "arn:aws:ssm:eu-central-1:348099934012:parameter/ECS/devnet/mongodb_user"
},
{
"name": "MONGODB_PASS",
"valueFrom": "arn:aws:ssm:eu-central-1:348099934012:parameter/ECS/devnet/mongodb_pass"
},
{
"name": "SECRET",
"valueFrom": "arn:aws:ssm:eu-central-1:348099934012:parameter/ECS/devnet/services_secret"
}
],
"environment": [
{
"name": "BOOT_NODE_ADDRESS",
"value": "wss://full-nodes-lb.devnet.kilt.io:9944"
},
{
"name": "NODE_ENV",
"value": "dev-aws"
},
{
"name": "MONGODB_HOST",
"value": "mongodb.devnet.kilt.io"
}
],
"essential": true
}
],
"cpu": "512",
"memory": "1024",
"requiresCompatibilities": [
"FARGATE"
],
"networkMode": "awsvpc"
}