Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

cat Dockerfile

FROM node:slim
MAINTAINER SunQingyun sun.qingyun@zol.com.cn
COPY ./statsd /statsd
ADD config.js /statsd/config.js
RUN echo 'Asia/Shanghai' > /etc/timezone \
&& /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& cd /statsd \
&& npm install statsd-influxdb-backend
CMD /statsd/bin/statsd "${CONFIG_PATH:=/statsd/config.js}"
EXPOSE 8125/udp 8126/tcp

cat fig.yml

statsd:
image: arkii/statsd:influxdb
dns: 172.17.42.1
ports:

- "8125:8125/udp"
- "8126:8126/tcp"

environment:

- PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin
- INFLUXDB_HOST=10.21.9.61
- STATSD_DEBUG=true
Docker Pull Command
Owner
arkii

Comments (0)