Compare commits

..

2 Commits

Author SHA1 Message Date
TwinProduction
9f8a74f5b1 Add subtle Github link in bottom right corner 2020-09-08 18:28:19 -04:00
azerty
2888254bda 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
2020-09-06 12:37:31 -04:00
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
services:
- name: example
url: http://example.org
interval: 30s
conditions:
- "[STATUS] == 200"

View 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@@ -76,6 +76,20 @@
#tooltip>.tooltip-title:first-child {
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>
</head>
<body>
@@ -108,6 +122,12 @@
<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>
let serviceStatuses = {};
let timerHandler = 0;