Created
August 3, 2014 04:46
-
-
Save mmaloney/637a0b8f5252ea057c5b to your computer and use it in GitHub Desktop.
elasticsearch service template
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
{ | |
"Command":"/usr/share/elasticsearch/bin/elasticsearch -f -p /var/run/elasticsearch/elasticsearch.pid -Des.default.path.home=/usr/share/elasticsearch -Des.default.path.logs=/var/log/elasticsearch -Des.default.path.data=/var/lib/elasticsearch -Des.default.path.work=/tmp/elasticsearch -Des.default.path.conf=/etc/elasticsearch", | |
"Endpoints": [ | |
{ | |
"Name": "http", | |
"Application": "elasticsearch", | |
"PortNumber": 9200, | |
"Protocol": "tcp", | |
"Purpose": "export" | |
}, | |
{ | |
"Name": "transport", | |
"Application": "elasticsearch", | |
"PortNumber": 9300, | |
"Protocol": "tcp", | |
"Purpose": "export" | |
} | |
], | |
"ImageID": "qnib/elk:latest", | |
"Instances": { | |
"min": 1 | |
}, | |
"RAMCommitment": 536870912, | |
"Launch": "auto", | |
"ConfigFiles": { | |
"/etc/elasticsearch/elasticsearch.yml": { | |
"Filename": "/etc/elasticsearch/elasticsearch.yml", | |
"Owner": "", | |
"Permissions": ""}, | |
"/etc/elasticsearch/logging.yml": { | |
"Filename": "/etc/elasticsearch/logging.yml", | |
"Owner": "", | |
"Permissions": ""} | |
}, | |
"LogConfigs": [ | |
{ | |
"filters": [ | |
"error" | |
], | |
"path": "/var/log/elasticsearch/*.log", | |
"type": "elasticsearch" | |
}], | |
"Name": "elasticsearch", | |
"Services": [], | |
"Tags": [ | |
"elasticsearch" | |
], | |
"Volumes": [ | |
{ | |
"#####": "drwxr-xr-x 12 elasticsearch elasticsearch 4096 June 01 01:00 /var/lib/elasticsearch/", | |
"Owner": "elasticsearch:elasticsearch", | |
"Permission": "0755", | |
"ResourcePath": "elasticsearch", | |
"ContainerPath": "/var/lib/elasticsearch" | |
} | |
], | |
"HealthChecks": { | |
"running": { | |
"Script": "echo $?", | |
"Interval": 20 | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment