Created
September 25, 2018 17:48
-
-
Save mozillalives/d7cadb70151ccbdd0abfdf2886aff19e to your computer and use it in GitHub Desktop.
Elastic Beanstalk Docker run config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"AWSEBDockerrunVersion": 2, | |
"volumes": [ | |
{ | |
"name": "shark-cat-app", | |
"host": { | |
"sourcePath": "/var/app/current" | |
} | |
} | |
], | |
"containerDefinitions": [ | |
{ | |
"name": "shark-cat-web", | |
"image": "custom-image/shark-cat-web", | |
"memory": 256, | |
"memoryReservation": 128, | |
"mountPoints": [ | |
{ | |
"sourceVolume": "shark-cat-app", | |
"containerPath": "/var/www/html" | |
} | |
], | |
"portMappings": [ | |
{ | |
"hostPort": 80, | |
"containerPort": 80 | |
} | |
], | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "shark-cat-web", | |
"awslogs-create-group": "true", | |
"awslogs-region": "us-east-2", | |
"awslogs-stream-prefix": "shark-cat" | |
} | |
} | |
}, | |
{ | |
"name": "shark-cat-consumer", | |
"image": "custom-image/shark-cat-consumer", | |
"memory": 256, | |
"memoryReservation": 128, | |
"mountPoints": [ | |
{ | |
"sourceVolume": "shark-cat-app", | |
"containerPath": "/var/www/html" | |
} | |
], | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "shark-cat-consumer", | |
"awslogs-create-group": "true", | |
"awslogs-region": "us-east-2", | |
"awslogs-stream-prefix": "shark-cat" | |
} | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment