Skip to content
This repository has been archived by the owner on May 22, 2020. It is now read-only.

Commit

Permalink
#DEOPSCSW-645: Saloni | Clean up comments and unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
skvithalani committed Mar 18, 2019
1 parent dc7525b commit 48df1fe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 273 deletions.
68 changes: 13 additions & 55 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ services:
ELK_VERSION: $ELK_VERSION
volumes:
- ./elasticsearch/config/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:ro
# - /private/etc/timezone:/etc/timezone:ro
- ${ETC_LOCALTIME}:/etc/localtime:ro
ports:
- $ES_TCP_PORT:$ES_TCP_PORT
- $ES_INTERNAL_PORT:$ES_INTERNAL_PORT
Expand All @@ -19,23 +17,6 @@ services:
networks:
- elk

# pipeline-setup:
# build:
# context: filebeat/
# args:
# ELK_VERSION: $ELK_VERSION
# restart: on-failure
# entrypoint: ["/var/lib/tools/configure.sh"]
# depends_on:
# - "elasticsearch"
# volumes:
# - type: bind
# source: ./elasticsearch
# target: /var/lib/tools
# - ./filebeat/config/filebeat-init.yml:/usr/share/filebeat/filebeat-init.yml:ro
# networks:
# - elk

kibana:
build:
context: kibana/
Expand All @@ -50,28 +31,6 @@ services:
depends_on:
- elasticsearch

filebeat:
build:
context: filebeat/
args:
ELK_VERSION: $ELK_VERSION
volumes:
# - /tmp/tmt/logs/:/usr/share/filebeat/watch:ro
- /tmp/csw/logs/:/usr/share/filebeat/watch:ro
# - /tmp/csw/logs/csw-config-server:/usr/share/filebeat/watch:ro
# - /tmp/csw/logs/csw-location-agent:/usr/share/filebeat/watch:ro
# - /tmp/csw/logs/csw-location-server:/usr/share/filebeat/watch:ro
# - /private/var/log/:/var/log/host/:ro
- ./filebeat/config/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
# - /usr/local/var/postgres/log/:/usr/share/filebeat/postgres/
- ${ETC_LOCALTIME}:/etc/localtime:ro
networks:
- elk
depends_on:
# - pipeline-setup
- logstash


logstash:
build:
context: logstash/
Expand All @@ -90,20 +49,19 @@ services:
depends_on:
- elasticsearch

# metricbeat:
# build:
# context: metricbeat/
# args:
# ELK_VERSION: $ELK_VERSION
# volumes:
# - ./metricbeat/config/metricbeat.yml:/usr/share/metricbeat/metricbeat.yml:ro
# - /proc:/hostfs/proc:ro
# - /sys/fs/cgroup:/hostfs/sys/fs/cgroup:ro
# - /:/hostfs:ro
# - /var/run/docker.sock:/var/run/docker.sock
# network_mode: host # Mandatory to monitor HOST filesystem, memory, processes,...
# depends_on:
# - elasticsearch
filebeat:
build:
context: filebeat/
args:
ELK_VERSION: $ELK_VERSION
volumes:
- /tmp/csw/logs/:/usr/share/filebeat/watch:ro
- ./filebeat/config/filebeat.yml:/usr/share/filebeat/filebeat.yml:ro
networks:
- elk
depends_on:
- logstash

networks:

elk:
Expand Down
65 changes: 0 additions & 65 deletions docker-stack.yml

This file was deleted.

3 changes: 0 additions & 3 deletions metricbeat/Dockerfile

This file was deleted.

150 changes: 0 additions & 150 deletions metricbeat/config/metricbeat.yml

This file was deleted.

0 comments on commit 48df1fe

Please sign in to comment.