still broke
This commit is contained in:
parent
df0a31125e
commit
dc8f124b58
@ -1,17 +1,21 @@
|
|||||||
prometheus:
|
prometheus:
|
||||||
image: "prom/prometheus"
|
build: "prom/"
|
||||||
|
ports:
|
||||||
|
- "9090:9090"
|
||||||
expose:
|
expose:
|
||||||
- "9090"
|
- "9090"
|
||||||
environment:
|
volumes:
|
||||||
- "config.file=documentation/examples/prometheus.yml"
|
- "$PWD/prometheus.yml:/etc/prometheus/prometheus.yml"
|
||||||
|
|
||||||
exporter:
|
exporter:
|
||||||
image: "prom/container-exporter"
|
image: "prom/container-exporter"
|
||||||
volumes:
|
volumes:
|
||||||
- "/sys/fs/cgroup:/cgroup"
|
- /sys/fs/cgroup:/cgroup
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock prom/container-exporter"
|
- /var/run/docker.sock:/var/run/docker.sock prom/container-exporter
|
||||||
|
ports:
|
||||||
|
- "9104:9104"
|
||||||
expose:
|
expose:
|
||||||
- "9104"
|
- "9104"
|
||||||
command: "-storage_driver=influxdb -storage_driver_db=cadvisor -storage_driver_host=influxsrv:8086"
|
|
||||||
|
|
||||||
sqlite3:
|
sqlite3:
|
||||||
image: "prom/promdash"
|
image: "prom/promdash"
|
||||||
@ -19,16 +23,16 @@ sqlite3:
|
|||||||
- "./bin/rake db:migrate"
|
- "./bin/rake db:migrate"
|
||||||
volumes:
|
volumes:
|
||||||
- "/tmp/prom:/tmp/prom"
|
- "/tmp/prom:/tmp/prom"
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
||||||
|
|
||||||
promdash:
|
promdash:
|
||||||
image: "prom/promdash"
|
image: "prom/promdash"
|
||||||
|
ports:
|
||||||
|
- "3000:3000"
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
volumes:
|
volumes:
|
||||||
- "/tmp/prom:/tmp/prom"
|
- /tmp/prom:/tmp/prom
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
- "DATABASE_URL=sqlite3:/tmp/prom/file.sqlite3"
|
||||||
|
@ -8,7 +8,7 @@ RUN apk add --update -t build-deps git mercurial bzr make \
|
|||||||
&& make build \
|
&& make build \
|
||||||
&& cp prometheus promtool /bin/ \
|
&& cp prometheus promtool /bin/ \
|
||||||
&& mkdir -p /etc/prometheus \
|
&& mkdir -p /etc/prometheus \
|
||||||
&& mv ./documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml \
|
#&& mv ./documentation/examples/prometheus.yml /etc/prometheus/prometheus.yml \
|
||||||
&& mv ./console_libraries/ ./consoles/ /etc/prometheus/ \
|
&& mv ./console_libraries/ ./consoles/ /etc/prometheus/ \
|
||||||
&& apk del --purge build-deps \
|
&& apk del --purge build-deps \
|
||||||
&& rm -rf /app /var/cache/apk/*
|
&& rm -rf /app /var/cache/apk/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user