mirror of
https://github.com/TwiN/gatus.git
synced 2025-01-24 14:58:41 +01:00
Add Docker Compose example (#11)
* Add Docker Compose example * Revert README.md * Move docker-compose sample to examples folder * docker-compose folder has its own config.yaml
This commit is contained in:
parent
e31c017a00
commit
2888254bda
6
example/docker-compose/config.yaml
Normal file
6
example/docker-compose/config.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
services:
|
||||||
|
- name: example
|
||||||
|
url: http://example.org
|
||||||
|
interval: 30s
|
||||||
|
conditions:
|
||||||
|
- "[STATUS] == 200"
|
8
example/docker-compose/docker-compose.yml
Normal file
8
example/docker-compose/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
version: "3.8"
|
||||||
|
services:
|
||||||
|
gatus:
|
||||||
|
image: twinproduction/gatus:latest
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
volumes:
|
||||||
|
- ./config.yaml:/config/config.yaml
|
Loading…
Reference in New Issue
Block a user