-
Notifications
You must be signed in to change notification settings - Fork 4
/
ecs-manifest.xml
53 lines (53 loc) · 2.15 KB
/
ecs-manifest.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<udm.DeploymentPackage version="$version" application="rest-o-rant">
<application />
<orchestrator />
<deployables>
<aws.ecs.ServiceSpec name="/Rest-o-rant-Service">
<tags />
<taskPlacementTemplateName>One Task Per Host</taskPlacementTemplateName>
<volumes />
<networkMode>bridge</networkMode>
<serviceName>rest-o-rant</serviceName>
<desiredCount>2</desiredCount>
<waitForTasksNr>1</waitForTasksNr>
<role>{{aws_ecs_service_role}}</role>
<maxDrainRetryCount>120</maxDrainRetryCount>
<containerDefinitions>
<aws.ecs.ContainerDefinitionSpec name="/Rest-o-rant-Service/rest-o-rant-web">
<containerName>rest-o-rant-web</containerName>
<image>xebialabs/rest-o-rant-web:$version</image>
<softMemoryLimit>300</softMemoryLimit>
<links>
<value>rest-o-rant-api</value>
</links>
<mountPoints />
<portMappings>
<aws.ecs.PortSpec name="/Rest-o-rant-Service/rest-o-rant-web/80-port-mapping">
<hostPort>80</hostPort>
<containerPort>80</containerPort>
</aws.ecs.PortSpec>
</portMappings>
</aws.ecs.ContainerDefinitionSpec>
<aws.ecs.ContainerDefinitionSpec name="/Rest-o-rant-Service/rest-o-rant-api">
<containerName>rest-o-rant-api</containerName>
<image>xebialabs/rest-o-rant-api:$version</image>
<softMemoryLimit>300</softMemoryLimit>
<links />
<mountPoints />
<portMappings />
</aws.ecs.ContainerDefinitionSpec>
</containerDefinitions>
<loadBalancers>
<aws.ecs.LoadBalancerSpec name="/Rest-o-rant-Service/ecs-demo-alb">
<targetGroupArn>Name:ecs-target-group</targetGroupArn>
<containerName>rest-o-rant-web</containerName>
<containerPort>80</containerPort>
</aws.ecs.LoadBalancerSpec>
</loadBalancers>
</aws.ecs.ServiceSpec>
</deployables>
<applicationDependencies />
<dependencyResolution>LATEST</dependencyResolution>
<undeployDependencies>false</undeployDependencies>
</udm.DeploymentPackage>