aboutsummaryrefslogtreecommitdiffstats
path: root/extra/docker/elk/docker-compose.yml
diff options
context:
space:
mode:
authorSébastien Determe <sd378r@intl.att.com>2018-03-21 14:16:00 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-21 14:16:00 +0000
commit8a8231745a39b0d8eb8cfb6a37ec0e34fa302e5d (patch)
tree38499cef7e977e03a992be7ad10818cf61bda3f5 /extra/docker/elk/docker-compose.yml
parent01c83cc95099f220fd91bbe2e838c7049f514f54 (diff)
parent5082fd7ed2037dfdb9c37ae60b77bc3165262663 (diff)
Merge "Adding CLAMP Dashboard"
Diffstat (limited to 'extra/docker/elk/docker-compose.yml')
-rw-r--r--extra/docker/elk/docker-compose.yml74
1 files changed, 74 insertions, 0 deletions
diff --git a/extra/docker/elk/docker-compose.yml b/extra/docker/elk/docker-compose.yml
new file mode 100644
index 000000000..ded2c6b01
--- /dev/null
+++ b/extra/docker/elk/docker-compose.yml
@@ -0,0 +1,74 @@
+version: '3.1'
+
+services:
+ elasticsearch:
+ image: elasticsearch
+ ports:
+ - 9200:9200
+ networks:
+ es_net:
+ aliases:
+ - elasticsearch
+
+ logstash:
+ image: logstash
+ volumes:
+ - ./logstash-conf:/config-dir
+ command: logstash -f /config-dir/logstash.conf
+ depends_on:
+ - elasticsearch
+ networks:
+ es_net:
+ environment:
+
+ kibana:
+ image: kibana
+ ports:
+ - 5601:5601
+ depends_on:
+ - elasticsearch
+ networks:
+ es_net:
+
+ backup:
+ image: taskrabbit/elasticsearch-dump
+ depends_on:
+ - elasticsearch
+ command:
+ - --input=http://elasticsearch:9200/.kibana
+ - --output=/backups/backup.json
+ - --type=data
+ volumes:
+ - ./es_backup/:/backups/
+ networks:
+ es_net:
+
+ restore:
+ image: taskrabbit/elasticsearch-dump
+ depends_on:
+ - elasticsearch
+ command:
+ - --output=http://elasticsearch:9200/.kibana
+ - --input=/backups/backup.json
+ - --type=data
+ volumes:
+ - ./es_backup/:/backups/
+ networks:
+ es_net:
+
+ default:
+ image: taskrabbit/elasticsearch-dump
+ depends_on:
+ - elasticsearch
+ command:
+ - --output=http://elasticsearch:9200/.kibana
+ - --input=/backups/default.json
+ - --type=data
+ volumes:
+ - ./es_backup/:/backups/
+ networks:
+ es_net:
+
+
+networks:
+ es_net: