docker: expose statsd endpoint for graphite block

This commit is contained in:
Daniel Lee 2017-11-07 15:14:39 +01:00
parent f8698dc49b
commit 799aaf720a
2 changed files with 3 additions and 0 deletions

View File

@ -90,4 +90,5 @@ EXPOSE 80 2003-2004 2023-2024 8125/udp 8126
VOLUME ["/opt/graphite/conf", "/opt/graphite/storage", "/etc/nginx", "/opt/statsd", "/etc/logrotate.d", "/var/log"]
WORKDIR /
ENV HOME /root
ENV STATSD_INTERFACE udp
CMD ["/sbin/my_init"]

View File

@ -3,6 +3,8 @@
ports:
- "8080:80"
- "2003:2003"
- "8125:8125/udp"
- "8126:8126"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro