diff options
author | ac2550 <ac2550@intl.att.com> | 2018-03-20 12:35:48 +0100 |
---|---|---|
committer | ac2550 <ac2550@intl.att.com> | 2018-03-20 13:13:38 +0100 |
commit | 5082fd7ed2037dfdb9c37ae60b77bc3165262663 (patch) | |
tree | 2c78b8ff995d15b245b878bdde187a70bad016e5 /extra/docker/elk/docker-compose.yml | |
parent | 3dc5f2a4a5c066a57ef0ce346be884b045ae73c9 (diff) |
Adding CLAMP Dashboard
Change-Id: I0496fa7303dbeaf72b00e4382f71bdb0069abb9a
Issue-ID: CLAMP-77
Signed-off-by: ac2550 <ac2550@intl.att.com>
Diffstat (limited to 'extra/docker/elk/docker-compose.yml')
-rw-r--r-- | extra/docker/elk/docker-compose.yml | 74 |
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: |