https://github.com/futuretea/homelab-webhook
apps -> homelab-webhook -> serverchan -> wechat
https://github.com/futuretea/homelab-webhook
Last synced: over 1 year ago
JSON representation
apps -> homelab-webhook -> serverchan -> wechat
- Host: GitHub
- URL: https://github.com/futuretea/homelab-webhook
- Owner: futuretea
- Created: 2022-06-17T17:49:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T03:13:39.000Z (over 2 years ago)
- Last Synced: 2025-01-22T01:36:33.141Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 50.8 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# homelab-webhook
## Architecture
apps -> homelab-webhook -> serverchan -> wechat
## Setup
```bash
SERVER_CHAN_SEND_KEY=
docker run -itd --name homelab-webhook \
--restart=unless-stopped \
-p 8080:8080 \
-e SERVER_CHAN_SEND_KEY=${SERVER_CHAN_SEND_KEY} \
futuretea/homelab-webhook:latest
```
## Uptime-Kuma notify setting

## Harvester post install notify setting
Refer to https://github.com/harvester/harvester-installer/pull/57
```yaml
install:
webhooks:
- event: SUCCEEDED
method: POST
url: http://:8080/harvester-serverchan/SUCCEEDED
headers:
Content-Type:
- 'application/json; charset=utf-8'
payload: |
{
"hostname": "{{.Hostname}}",
"ipv4": "{{.IPAddrV4}}",
"ipv6": "{{.IPAddrV6}}",
"mac": "{{.MACAddr}}"
}
```