2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00
This commit is contained in:
kev
2015-06-24 22:43:17 +08:00
parent e8cde2b8f5
commit 408942a42f
3 changed files with 3 additions and 0 deletions

View File

@@ -9,5 +9,6 @@ RUN apk add -U collectd collectd-dev \
&& rm -rf /var/cache/apk/*
COPY ./collectd /etc/collectd
VOLUME /etc/collectd
CMD ["collectd", "-f"]

View File

@@ -55,5 +55,6 @@ collectd:
volumes:
- ./collectd:/etc/collectd
pid: host
net: host
restart: always
```

View File

@@ -3,4 +3,5 @@ collectd:
volumes:
- ./collectd:/etc/collectd
pid: host
net: host
restart: always