This service allows Health board system to use interface for aggregating incidents and performs notification transmit for heterogeneous subjects.
- PHP 5.5 or higher
- ext-pdo_sqlite
- ext-imap
Installation using Composer
composer create-project tonicforhealth/health-checker-incident
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
...
bin/console server:run
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
- file
- request (cachet)