Skip to content

Instantly share code, notes, and snippets.

@roylee0704
Created September 2, 2016 11:37
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save roylee0704/38ef04598e42274d143b2d62b7f7c8ba to your computer and use it in GitHub Desktop.
Save roylee0704/38ef04598e42274d143b2d62b7f7c8ba to your computer and use it in GitHub Desktop.
Dockerrun.aws.json Syntax
{
"containerDefinitions": [
{
"command": [ "string" ],
"cpu": number,
"disableNetworking": boolean,
"dnsSearchDomains": [ "string" ],
"dnsServers": [ "string" ],
"dockerLabels": {
"string" : "string"
},
"dockerSecurityOptions": [ "string" ],
"entryPoint": [ "string" ],
"environment": [
{
"name": "string",
"value": "string"
}
],
"essential": boolean,
"extraHosts": [
{
"hostname": "string",
"ipAddress": "string"
}
],
"hostname": "string",
"image": "string",
"links": [ "string" ],
"logConfiguration": {
"logDriver": "string",
"options": {
"string" : "string"
}
},
"memory": number,
"memoryReservation": number,
"mountPoints": [
{
"containerPath": "string",
"readOnly": boolean,
"sourceVolume": "string"
}
],
"name": "string",
"portMappings": [
{
"containerPort": number,
"hostPort": number,
"protocol": "string"
}
],
"privileged": boolean,
"readonlyRootFilesystem": boolean,
"ulimits": [
{
"hardLimit": number,
"name": "string",
"softLimit": number
}
],
"user": "string",
"volumesFrom": [
{
"readOnly": boolean,
"sourceContainer": "string"
}
],
"workingDirectory": "string"
}
],
"family": "string",
"networkMode": "string",
"taskRoleArn": "string",
"volumes": [
{
"host": {
"sourcePath": "string"
},
"name": "string"
}
]
}
@Freezystem
Copy link

I think that the authentication field is missing at object root fir the schema to be complete:

{
  "authentication": {
    "bucket": "string",
    "key": "string"
  }
}

This configuration is for v2 only, for v1 all keys begins with an uppercase.

@debu99
Copy link

debu99 commented May 29, 2019

does executionRoleArn support by beanstalk ?

@Extra-Extra-Dev
Copy link

does executionRoleArn support by beanstalk ?

Anyone know about this yet? I'm chasing my tail here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment