Created
July 29, 2018 05:04
-
-
Save wizact/d3190bdd93a83dbfff215631b2440ec9 to your computer and use it in GitHub Desktop.
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
{ | |
"containerDefinitions": [ | |
{ | |
"name": "datacontainer", | |
"mountPoints": [ | |
{ | |
"sourceVolume": "volume-0", | |
"readOnly": false, | |
"containerPath": "/app/acmeinc-api/log/" | |
} | |
], | |
"image": "<aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/acmeinc-api-datavolume:latest", | |
"essential": false, | |
"portMappings": [], | |
"entryPoint": [], | |
"memory": 512, | |
"command": [], | |
"cpu": 1, | |
"volumesFrom": [] | |
}, | |
{ | |
"environment": [], | |
"name": "acmeinc-api", | |
"links": [], | |
"mountPoints": [], | |
"image": "<aws_account_id>.dkr.ecr.us-east-1.amazonaws.com/acmeinc-api:%s", | |
"essential": true, | |
"portMappings": [ | |
{ | |
"protocol": "tcp", | |
"containerPort": 8080, | |
"hostPort": 8080 | |
} | |
], | |
"entryPoint": [], | |
"memory": 512, | |
"command": [], | |
"cpu": 1, | |
"volumesFrom": [ | |
{ | |
"sourceContainer": "datacontainer" | |
} | |
] | |
} | |
], | |
"volumes": [ | |
{ | |
"host": { | |
"sourcePath": "/app/acmeinc-api/log/" | |
}, | |
"name": "volume-0" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment