3 Commits

Author SHA1 Message Date
Dobroslaw Zybort
2c1a2ed225 Make health checks more frequent in Docker
5 min was copy/paste from official docs. After reading more about health
checks in real world usage most examples was using duration around
5 seconds for interval. By default docker will show if service is
unhealthy after 3 intervals return error. So in previous timing service
would be taken out of poll (by e.g. docker swarm) after 15 min. For all
this time it would be returning errors for any communication to it. Now
it will be removed from poll of running services after 15 seconds.

Regarding timeout more examples was using something shorter. For all
services we are using if anything respond longer than 2 seconds then
something is wrong with this service. Monasca is not web service but
back-end service that should have high throughput.

Change-Id: I4486c4974de38dea33739fdc470f38fd99d428fa
2018-07-26 14:00:32 +02:00
Witold Bedyk
31f92092b5 Minor language changes and added license headers
Additionally:
* Move comment outside of `rm` command.

Story: 2001694
Task: 22889

Change-Id: I9dd334c05bf9e209427db1b987f475e031d11d80
2018-07-10 15:08:55 +02:00
Dobroslaw Zybort
2ce968d052 Add base Dockerfile and supporting scripts
Story: 2001694
Task: 12491

Change-Id: I81e0d0ecbb431ed7e26fcbcb4d347ac164c66736
2018-07-09 13:49:19 +02:00