larahook/gitlab-max-notification
最新稳定版本:v1.0.1
Composer 安装命令:
composer create-project larahook/gitlab-max-notification
包简介
Webhook gitlab notification via max bot
关键字:
README 文档
README
Gitlab notification via Max messager bot
Run project
Add channel and bot props to project .env file
Copy .env.example file to .env
cp .env.example .env
Update config
# Telegram MAX_BOT_HOST=https://botapi.max.ru MAX_BOT_TOKEN=access_token MAX_BOT_TIMEOUT=7 MAX_HASH_CHAT_IDS=some_hash_1:-1001234567890;some_hash_2:some_chat_id_2 # Outgoing Rate limiter: 20rpm RATE_LIMITER_ALLOW=20 RATE_LIMITER_EVERY_SECONDS=60 RATE_LIMITER_RELEASE_AFTER_SECONDS=15 # Host settings APP_HTTP_PORT=3003
Docker
docker-compose up -d docker exec -it gitlab-notification-app composer install docker exec -it gitlab-notification-app php artisan migrate
Gitlab
Allow requests to the local network
- Admin Area -> Settings -> Network -> Outbound requests
[x] Allow requests to the local network from webhooks and integrations
Add URL to Gitlab Webhook Settings
- Settings -> Webhooks -> Add new webhook
Webhook URL example
http://host:3003/api/v1/webhook/some_hash_1
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-29

