-
Notifications
You must be signed in to change notification settings - Fork 0
Dockerrun Example Single Container
danmasta edited this page Feb 12, 2018
·
1 revision
Deploy can interpolate values from your dockerrun template, just use handlebar syntax
{
"AWSEBDockerrunVersion": 2,
"volumes": [
],
"containerDefinitions": [
{
"name": "{{ebApp}}",
"image": "{{ecrUri}}:{{version}}",
"essential": true,
"memory": 512,
"mountPoints": [
{
"sourceVolume": "awseb-logs-{{ebApp}}",
"containerPath": "/var/log/app"
}
],
"portMappings": [
{
"hostPort": 80,
"containerPort": 8080
}
],
"logConfiguration": {
"logDriver": "awslogs",
"options": {
"awslogs-group": "{{ebEnv}}-app",
"awslogs-region": "us-east-1"
}
}
}
]
}