Docker build of project: https://github.com/inCaller/prometheus_bot
9.4K
docker run --rm -v ./config:/config krezz/prometheus_bot:latest -c /config/config.yml
-c [string], Path to a config file (default "config.yaml")
-d, Debug template
-l [string], Listen address (default ":9087")
-t [string], Path to a template file
FROM golang:alpine
RUN apk add git --no-cache &&\
go get github.com/inCaller/prometheus_bot &&\
go install github.com/inCaller/prometheus_bot &&\
apk del git --no-cache &&\
rm -rf /go/src/*
EXPOSE 9087
ENTRYPOINT ["/go/bin/prometheus_bot"]
CMD ["--help"]
version: '3'
services:
prometheus_bot:
image: krezz/prometheus_bot:latest
volumes:
- ./config:/config
ports:
- 9087:9087
command: ["-c", "/config/config.yml", "-t", "/config/default.tmpl"]
Content type
Image
Digest
Size
117.8 MB
Last updated
almost 8 years ago
docker pull krezz/prometheus_bot