https://github.com/esotericman/prometheus-wecom-webhook
Prometheus 企业微信机器人通知
https://github.com/esotericman/prometheus-wecom-webhook
docker prometheus wecom
Last synced: about 2 months ago
JSON representation
Prometheus 企业微信机器人通知
- Host: GitHub
- URL: https://github.com/esotericman/prometheus-wecom-webhook
- Owner: esotericman
- License: apache-2.0
- Created: 2022-09-29T15:04:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T15:09:50.000Z (over 3 years ago)
- Last Synced: 2025-03-20T00:48:36.072Z (over 1 year ago)
- Topics: docker, prometheus, wecom
- Language: Go
- Homepage:
- Size: 1.49 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 概述
prometheus alert-manager接入企业微信机器人通知,使用Docker部署,webhook地址http://host:port/webhook; 使用HOOK_KEY绑定自己的机器人key.
### 快速开始
```shell
docker run --name wecomhook -e HOOK_KEY=yours -p 6666:6666 -d mysteriousman/prometheus-wecom-webhook:0.1
```

### 构建镜像
```shell
docker build --network host -t wecomhook:0.1 .
```
### 清理环境
```shell
docker image prune --filter label=stage=builder
```
### 本地打包镜像
```shell
docker save wecomhook:0.1 > wecomhook.tar
```
### 线上导入镜像
```shell
docker load < wecomhook.tar
```
### 启动容器
```shell
docker run --name wecomhook -e HOOK_KEY=yours -p 6666:6666 -d wecomhook:0.1
```
### 最终效果

