diff --git a/elasticsearch/elasticsearch.service b/elasticsearch/elasticsearch.service index e6bc0af..1581e0d 100644 --- a/elasticsearch/elasticsearch.service +++ b/elasticsearch/elasticsearch.service @@ -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" diff --git a/filebeat/filebeat.service b/filebeat/filebeat.service index cfbfcf7..10b631d 100644 --- a/filebeat/filebeat.service +++ b/filebeat/filebeat.service @@ -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"