Created
October 6, 2016 10:48
-
-
Save DanielBerman/9ca7ccd6902f007b30a59afa4e664e75 to your computer and use it in GitHub Desktop.
Task definition for using the Logz.io Docker log collector on AWS ECS
This file contains 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
{ | |
"networkMode": "bridge", | |
"taskRoleArn": null, | |
"containerDefinitions": [ | |
{ | |
"volumesFrom": [], | |
"memory": null, | |
"extraHosts": null, | |
"dnsServers": null, | |
"disableNetworking": null, | |
"dnsSearchDomains": null, | |
"portMappings": [], | |
"hostname": null, | |
"essential": true, | |
"entryPoint": null, | |
"mountPoints": [ | |
{ | |
"containerPath": "/var/run/docker.sock", | |
"sourceVolume": "docker-sock", | |
"readOnly": true | |
} | |
], | |
"name": "logzio-docker", | |
"ulimits": null, | |
"dockerSecurityOptions": null, | |
"environment": [ | |
{ | |
"name": "LOGZIO_TOKEN", | |
"value": "logz-token" | |
} | |
], | |
"links": null, | |
"workingDirectory": null, | |
"readonlyRootFilesystem": false, | |
"image": "logzio/logzio-docker", | |
"command": null, | |
"user": null, | |
"dockerLabels": null, | |
"logConfiguration": null, | |
"cpu": 0, | |
"privileged": true, | |
"memoryReservation": 128 | |
} | |
], | |
"volumes": [ | |
{ | |
"host": { | |
"sourcePath": "/var/run/docker.sock" | |
}, | |
"name": "docker-sock" | |
} | |
], | |
"family": "logzio-docker" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment