Skip to content

Instantly share code, notes, and snippets.

@wliao008
Created January 12, 2017 17:19
Show Gist options
  • Save wliao008/de954efe0df8a0cb1ca499007b9b67eb to your computer and use it in GitHub Desktop.
Save wliao008/de954efe0df8a0cb1ca499007b9b67eb to your computer and use it in GitHub Desktop.
{
"family": "<service_name>",
"containerDefinitions": [
{
"name": "<service_name>",
"image": "<image_name>",
"cpu": 1,
"memory": 512,
"links": [],
"portMappings": [
{
"containerPort": 5001,
"hostPort": 0,
"protocol": "tcp"
}
],
"essential": true,
"entryPoint": [],
"command": [],
"environment": [
{
"name": "SERVICE_eureka_datacenterinfo_auto_populate",
"value": "true"
},
{
"name": "SERVICE_EUREKA_use_elbv2_endpoint",
"value": "true"
}
],
"mountPoints": [
{
"sourceVolume": "log",
"containerPath": "/app/logs",
"readOnly": false
}
],
"volumesFrom": [],
"dnsServers": [],
"dnsSearchDomains": [],
"extraHosts": [],
"dockerSecurityOptions": [],
"dockerLabels": {
"app": "<service_name>",
"environment": "test",
"is-marvel": "true"
},
"ulimits": []
}
],
"volumes": [
{
"name": "log",
"host": {
"sourcePath": "/var/log/app_hudl_web_<service_name>"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment