Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf6a74f862 | ||
|
|
9f8a74f5b1 | ||
|
|
2888254bda |
11
config.yaml
11
config.yaml
@@ -7,11 +7,10 @@ services:
|
|||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
- "[BODY].status == UP"
|
- "[BODY].status == UP"
|
||||||
- "[RESPONSE_TIME] < 1000"
|
- "[RESPONSE_TIME] < 1000"
|
||||||
- name: twinnation-articles-api
|
- name: cat-fact
|
||||||
interval: 30s
|
interval: 1m
|
||||||
url: "https://twinnation.org/api/v1/articles/24"
|
url: "https://cat-fact.herokuapp.com/facts/random"
|
||||||
conditions:
|
conditions:
|
||||||
- "[STATUS] == 200"
|
- "[STATUS] == 200"
|
||||||
- "[BODY].id == 24"
|
- "[BODY].deleted == false"
|
||||||
- "[BODY].tags[0] == spring"
|
- "len([BODY].text) > 0"
|
||||||
- "len([BODY].tags) > 0"
|
|
||||||
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
|
||||||
BIN
static/github.png
Normal file
BIN
static/github.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -76,6 +76,20 @@
|
|||||||
#tooltip>.tooltip-title:first-child {
|
#tooltip>.tooltip-title:first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
#social {
|
||||||
|
position: fixed;
|
||||||
|
right: 5px;
|
||||||
|
bottom: 5px;
|
||||||
|
padding: 5px;
|
||||||
|
margin: 0;
|
||||||
|
z-index: 100;
|
||||||
|
}
|
||||||
|
#social img {
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
|
#social img:hover {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@@ -108,6 +122,12 @@
|
|||||||
|
|
||||||
<script src="/jquery.min.js"></script>
|
<script src="/jquery.min.js"></script>
|
||||||
|
|
||||||
|
<div id="social">
|
||||||
|
<a href="https://github.com/TwinProduction/gatus" target="_blank" title="Gatus on GitHub">
|
||||||
|
<img src="/github.png" alt="GitHub" width="32" height="auto" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
let serviceStatuses = {};
|
let serviceStatuses = {};
|
||||||
let timerHandler = 0;
|
let timerHandler = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user