mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00: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
2 changed files with 14 additions and 0 deletions
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 a new issue