icinga2-container/Makefile

18 lines
428 B
Makefile
Raw Normal View History

2016-04-30 23:20:43 +00:00
all: build
2016-04-29 19:07:22 +00:00
build:
docker build -t monitoring .
run: build
2016-04-30 23:20:43 +00:00
docker run --rm -ti \
-v influxdb-data:/var/lib/influxdb/data \
-v influxdb-meta:/var/lib/influxdb/meta \
-v postgresql:/var/lib/postgresql \
-v grafana-lib:/var/lib/grafana \
-v grafana-etc:/etc/grafana \
-v icinga2-etc:/etc/icinga2 \
-v icinga2-lib:/var/lib/icinga2 \
-v icingaweb2-etc:/etc/icingaweb2 \
-v ssmtp-etc:/etc/ssmtp \
monitoring sh