Commit Graph

5 Commits

Author SHA1 Message Date
Chad Metcalf 702ec96821 Adding a Makefile and basic tests.
This approach uses bats to create a generic docker-compose test. It
checks that images are pullable, projects are buildable, up works, and
if ports are exposed that something is listening.

The tests can be tailored for each example. As long as they are the same
though, you can edit lib/test.bats.example and then `make update-tests`
and all the tests will be synced.

Signed-off-by: Chad Metcalf <chad@docker.com>
2020-08-08 14:26:52 -07:00
Benoît Stahl 3599a2e685 prometheus-grafana - switch restart to string (#56)
Signed-off-by: Benoît Stahl <from+github@b5.pm>
2020-04-14 12:21:52 +02:00
Amin Vakil 93ff67d258 Add restart policy (#53)
It's almost no possible monitoring solution which it's OK to stop monitoring server itself upon a problem.

Signed-off-by: Amin Vakil <info@aminvakil.com>
2020-04-10 09:30:54 +02:00
Anca Iordache 77c6920a83 Fix default port mapping and indentation
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-24 00:44:49 +01:00
Anca Iordache 6b957fa0b5 Add prometheus-grafana sample
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2020-03-23 23:27:09 +01:00