summaryrefslogtreecommitdiffstats
path: root/docker/services
diff options
context:
space:
mode:
Diffstat (limited to 'docker/services')
-rw-r--r--docker/services/collectd.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/services/collectd.yaml b/docker/services/collectd.yaml
index 0593e412..85018aa6 100644
--- a/docker/services/collectd.yaml
+++ b/docker/services/collectd.yaml
@@ -96,15 +96,17 @@ outputs:
- '/'
- [ {get_param: DockerNamespace}, {get_param: DockerCollectdImage} ]
net: host
+ pid: host
privileged: true
+ user: root
restart: always
volumes:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
-
- - /var/run/docker.sock:/var/run/docker.sock:rw
- /var/lib/kolla/config_files/collectd.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/collectd/:/var/lib/kolla/config_files/src:ro
+ - /var/log/containers/collectd:/var/log/collectd:rw
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
host_prep_tasks: