Skip to content

Instantly share code, notes, and snippets.

@ukayani
Last active November 21, 2017 05:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ukayani/cf939e1198a0e95c823913ff7a7a4a00 to your computer and use it in GitHub Desktop.
Save ukayani/cf939e1198a0e95c823913ff7a7a4a00 to your computer and use it in GitHub Desktop.
ECS Task Definition for deploying an Akka cluster
"TaskDefinition": {
"Type": "AWS::ECS::TaskDefinition",
"Properties": {
"ContainerDefinitions": [{
"Name": "theatre-example",
"Image": "loyaltyone/theatre-example:latest",
"PortMappings": [{
"ContainerPort": 8080,
"HostPort": 0
}, {
"ContainerPort": 2552,
"HostPort": 0
}],
"Environment": [{
"Name": "ZOOKEEPER_NODES",
"Value": "nodea.zk.dev:2181,nodeb.zk.dev:2181,nodec.zk.dev:2181"
}, {
"Name": "APP_PORT",
"Value": "2552"
}],
"Essential": "true",
...
}],
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment