Skip to content

Commit

Permalink
Change volume directory of filebeat + elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Hamza Zaib committed May 29, 2018
1 parent 37e67d7 commit 7c834ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion elasticsearch/elasticsearch.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ExecStart=/usr/bin/sh -c "/usr/bin/docker run --rm --name %n \
-p 9200:9200 -p 9300:9300 \
--dns=${IPV4} \
--dns-search=service.consul \
-v /data/docker/elasticsearch:/usr/share/elasticsearch/data \
-v /docker-data/elasticsearch:/usr/share/elasticsearch/data \
--label SERVICE_NAME=elasticsearch \
--label SERVICE_TAGS=infra-app \
stakater/elasticsearch:5.2"
Expand Down
2 changes: 1 addition & 1 deletion filebeat/filebeat.service
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ExecStart=/usr/bin/sh -c "/usr/bin/docker run --rm --name %n \
--dns=${IPV4} \
--dns-search=service.consul \
-v /data/logs:/var/log/app \
-v /data/docker/filebeat/:/filebeat-data \
-v /docker-data/filebeat/:/filebeat-data \
-v /admiral-config/filebeat/consul-templates:/templates \
-e SERVICE_NAME=filebeat \
stakater/filebeat-with-consul-template:5.2-0.18.0"
Expand Down

0 comments on commit 7c834ef

Please sign in to comment.