docker-compose up -d --build
docker-compose down
REQUEST: http://domain.local:5252/ping
RESPONSE: PONG
http://domain.local:5252/api/email
http://domain.local:5252/api/telegram
{
'Content-Type': 'application/json',
'X-NOTIFY-API-Key': '55585dcbd7'
}
{
'type': 'email',
'address': 'who@mail.ru',
'message': "I am from INSOMNIA'
}
OR
{
'type': 'telegram',
'address': "34795934857',
'message': 'I am from INSOMNIA'
}