tonicforhealth/health-checker-incident
Composer 安装命令:
composer create-project tonicforhealth/health-checker-incident
包简介
Health checker incident REST microservice
README 文档
README
This service allows Health board system to use interface for aggregating incidents and performs notification transmit for heterogeneous subjects.
Requirements
- PHP 5.5 or higher
- ext-pdo_sqlite
- ext-imap
Installation using Composer
composer create-project tonicforhealth/health-checker-incident
Setup
For the correct run of health-checker-incident app you need to install cachet:
Then set up config for it and other subject items app/config/parameter.php:
...
incident.notifications.subjects:
file:
file1:
target: 'fileName'
request:
cached:
target: 'http://localhost:8000/api/v1'
email:
drefixs:
schedule: '* * 0,1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,30,31 * * *'
target: email@example.com
...
Run of the app using symfony built in server
bin/console server:run
Run of the app with docker-compose
git clone git@github.com:tonicforhealth/health-checker-incident-docker.git cd health-checker-incident-docker cp config/parameters.default.yml config/parameters.yml vi config/parameters.yml # set up right config docker-compose up -d incident-web
What notification types it has:
- file
- request (cachet)
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-08