File tree 4 files changed +9
-10
lines changed
4 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 15
15
-X {{repoPath}}/vendor/github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
16
16
tarball :
17
17
files :
18
- - doc/ examples/simple .yml
18
+ - examples/ha/alertmanager .yml
19
19
- LICENSE
20
20
- NOTICE
21
21
crossbuild :
Original file line number Diff line number Diff line change 1
1
FROM prom/busybox:latest
2
2
MAINTAINER The Prometheus Authors <
[email protected] >
3
3
4
- COPY amtool /bin/amtool
5
- COPY alertmanager /bin/alertmanager
6
- COPY doc/ examples/simple .yml /etc/alertmanager/config .yml
4
+ COPY amtool /bin/amtool
5
+ COPY alertmanager /bin/alertmanager
6
+ COPY examples/ha/alertmanager .yml /etc/alertmanager/alertmanager .yml
7
7
8
8
EXPOSE 9093
9
9
VOLUME [ "/alertmanager" ]
10
- WORKDIR /alertmanager
10
+ WORKDIR /etc/ alertmanager
11
11
ENTRYPOINT [ "/bin/alertmanager" ]
12
- CMD [ "--config.file=/etc/alertmanager/config.yml" , \
13
- "--storage.path=/alertmanager" ]
12
+ CMD [ "--storage.path=/alertmanager" ]
Original file line number Diff line number Diff line change 1
- a1 : ./alertmanager --log.level=debug --storage.path=$TMPDIR /a1 --web.listen-address=:9093 --cluster.listen-address=127.0.0.1:8001 --config.file=examples/ha/alertmanager.yaml
2
- a2 : ./alertmanager --log.level=debug --storage.path=$TMPDIR /a2 --web.listen-address=:9094 --cluster.listen-address=127.0.0.1:8002 --cluster.peer=127.0.0.1:8001 --config.file=examples/ha/alertmanager.yaml
3
- a3 : ./alertmanager --log.level=debug --storage.path=$TMPDIR /a3 --web.listen-address=:9095 --cluster.listen-address=127.0.0.1:8003 --cluster.peer=127.0.0.1:8001 --config.file=examples/ha/alertmanager.yaml
1
+ a1 : ./alertmanager --log.level=debug --storage.path=$TMPDIR /a1 --web.listen-address=:9093 --cluster.listen-address=127.0.0.1:8001 --config.file=examples/ha/alertmanager.yml
2
+ a2 : ./alertmanager --log.level=debug --storage.path=$TMPDIR /a2 --web.listen-address=:9094 --cluster.listen-address=127.0.0.1:8002 --cluster.peer=127.0.0.1:8001 --config.file=examples/ha/alertmanager.yml
3
+ a3 : ./alertmanager --log.level=debug --storage.path=$TMPDIR /a3 --web.listen-address=:9095 --cluster.listen-address=127.0.0.1:8003 --cluster.peer=127.0.0.1:8001 --config.file=examples/ha/alertmanager.yml
4
4
wh : go run ./examples/webhook/echo.go
5
5
File renamed without changes.
You can’t perform that action at this time.
0 commit comments