diff options
Diffstat (limited to 'public/v2/apps/graylog.json')
| -rw-r--r-- | public/v2/apps/graylog.json | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/public/v2/apps/graylog.json b/public/v2/apps/graylog.json index e4e5392..a9afa21 100644 --- a/public/v2/apps/graylog.json +++ b/public/v2/apps/graylog.json @@ -17,7 +17,7 @@ }, "$$cap_appname-elasticsearch": { "notExposeAsWebApp": "true", - "image" : "docker.elastic.co/elasticsearch/elasticsearch:$$cap_elasticsearch_version", + "image": "docker.elastic.co/elasticsearch/elasticsearch:$$cap_elasticsearch_version", "volumes": [ "$$cap_appname-elasticsearch-data:/usr/share/elasticsearch/data" ], @@ -41,10 +41,10 @@ "containerHttpPort": "9000", "restart": "always", "environment": { - "GRAYLOG_MONGODB_URI": "mongodb://srv-captain--$$cap_appname-mongodb/graylog", - "GRAYLOG_ELASTICSEARCH_HOSTS": "http://srv-captain--$$cap_appname-elasticsearch:$$cap_container_port", - "GRAYLOG_HTTP_EXTERNAL_URI": "//$$cap_appname.$$cap_root_domain/", - "GRAYLOG_ROOT_PASSWORD_SHA2": "$$cap_graylog_password" + "GRAYLOG_MONGODB_URI": "mongodb://srv-captain--$$cap_appname-mongodb/graylog", + "GRAYLOG_ELASTICSEARCH_HOSTS": "http://srv-captain--$$cap_appname-elasticsearch:$$cap_container_port", + "GRAYLOG_HTTP_EXTERNAL_URI": "//$$cap_appname.$$cap_root_domain/", + "GRAYLOG_ROOT_PASSWORD_SHA2": "$$cap_graylog_password" } } } @@ -53,19 +53,22 @@ "start": "Graylog Log Management. \n\nNOTICE!:\n Be sure to extend the virtual memory on all your hosts! \n 1. echo 'vm.max_map_count=262144' >> /etc/sysctl.conf\n 2. sysctl -p", "end": "Deployment of Graylog if finished. You will see 502 errors for the next 5+ minutes while Graylog starts up. Goto <YOUR-APP-URL> and login as \"admin\" with your unhashed password." }, - "variables": [{ + "variables": [ + { "id": "$$cap_graylog_version", "label": "Graylog Version", "defaultValue": "3.1", "description": "Checkout their docker page for the valid tags https://hub.docker.com/r/graylog/graylog/tags", "validRegex": "/^([^\\s^\\/])+$/" - }, { + }, + { "id": "$$cap_graylog_password", "label": "Graylog Admin Password", "defaultValue": "", "description": "Admin password SHA256 encoded. Generate with: echo -n \"<password>\" | shasum -a 256 | cut -d\" \" -f1", "validRegex": "/^([^\\s^\\/])+$/" - }, { + }, + { "id": "$$cap_mongo_version", "label": "MongoDB Version", "defaultValue": "4", @@ -78,37 +81,43 @@ "description": "Checkout the releases overview: https://www.elastic.co/de/downloads/elasticsearch", "defaultValue": "6.7.1", "validRegex": "/^([^\\s^\\/])+$/" - },{ + }, + { "id": "$$cap_elasticsearch_cluster_name", "label": "Elasticsearch Cluster Name", "description": "Only nodes within the same cluster name can be combined", "defaultValue": "elasticsearch-cluster", "validRegex": "/^([^\\s^\\/])+$/" - },{ + }, + { "id": "$$cap_elasticsearch_unicast_hosts", "label": "Elasticsearch Unicasts hosts", "description": "References to other node to attach to. (for example: srv-captain--XXX)", "defaultValue": "false", "validRegex": "/^([^\\s^\\/])+$/" - },{ + }, + { "id": "$$cap_elasticsearch_node_data", "label": "Elasticsearch Node Data", "description": "Should the node used for storing data? (true / false)", "defaultValue": "true", "validRegex": "/^([^\\s^\\/])+$/" - },{ + }, + { "id": "$$cap_elasticsearch_node_master", "label": "Elasticsearch Node Master", "description": "Define node as master-eligible (usual first node YES, others NO).", "defaultValue": "true", "validRegex": "/^([^\\s^\\/])+$/" - },{ + }, + { "id": "$$cap_elasticsearch_minimum_master_nodes", "label": "Elasticsearch Minimum Master Nodes", "description": "Define minimum amount of master (N) ( best practice: ceil(N/2 + 1) ).", "defaultValue": "1", "validRegex": "/^([0-9])+$/" - },{ + }, + { "id": "$$cap_container_port", "label": "Elasticsearch Container TCP Port", "defaultValue": "9200", |
