Add uptime kuma

This commit is contained in:
2024-10-11 21:27:37 +01:00
parent f12b58ce3c
commit 2b0118c779
6 changed files with 47 additions and 6 deletions
+8 -4
View File
@@ -127,7 +127,7 @@ search.64815139.xyz {
handle {
encode zstd gzip
reverse_proxy 192.168.0.221:8080 {
reverse_proxy 192.168.0.210:8080 {
header_up X-Forwarded-Port {http.request.port}
header_up X-Forwarded-Proto {http.request.scheme}
header_up X-Real-IP {remote_host}
@@ -137,13 +137,17 @@ search.64815139.xyz {
gitea.64815139.xyz {
rewrite /user/login /user/oauth2/Authelia
reverse_proxy 192.168.0.221:3000
reverse_proxy 192.168.0.210:3000
}
immich.64815139.xyz {
reverse_proxy 192.168.0.221:2283
reverse_proxy 192.168.0.210:2283
}
uptime.64815139.xyz {
reverse_proxy 192.168.0.210:4393
}
oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR.64815139.xyz {
reverse_proxy 192.168.0.221:4449
reverse_proxy 192.168.0.210:4449
}
+4
View File
@@ -30,6 +30,10 @@
"name": "immich",
"proxied": false
},
{
"name": "uptime",
"proxied": false
},
{
"name": "oaT3cqYuCAegcoM4Xc4Pun1BUMOschxR",
"proxied": false
@@ -0,0 +1,15 @@
<svg width="640" height="640" viewBox="0 0 640 640" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
<g transform="matrix(1 0 0 1 320 320)">
<linearGradient id="S3" gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1 0 0 1 -319.99875 -320.0001577393)" x1="259.78" y1="261.15" x2="463.85"
y2="456.49">
<stop stop-color="#5CDD8B" />
<stop offset="1" stop-color="#86E6A9" />
</linearGradient>
<path
style="stroke: rgb(242,242,242); stroke-opacity: 0.51; stroke-width: 200; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: url(#S3); fill-rule: nonzero; opacity: 1;"
transform=" translate(0, 0)"
d="M 170.40125 -84.36016 C 224.09125 38.37984 224.09125 115.33984 170.40125 146.49984 C 89.85125000000001 193.23984000000002 -120.03875 207.48984000000002 -180.45875 135.63984 C -220.73875 87.73983999999999 -220.73875 14.399839999999998 -180.45875 -84.36016000000001 C -139.49875 -151.82016 -81.28875000000001 -185.55016 -5.828750000000014 -185.55016 C 69.64124999999999 -185.55016 128.38125 -151.82016000000002 170.40124999999998 -84.36016000000001 z"
stroke-linecap="round" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

+8
View File
@@ -43,6 +43,14 @@
<span class="app-name">Gitea</span>
</a>
</li>
<li class="app-item">
<a href="https://uptime.64815139.xyz" target="_blank">
<div class="app-icon-wrapper">
<img src="assets/icons/uptime-kuma.svg" alt="Uptime Kuma" class="app-icon">
</div>
<span class="app-name">Uptime</span>
</a>
</li>
<!-- Add more application links here -->
</ul>
</main>
+3 -2
View File
@@ -51,7 +51,7 @@ body {
.app-item a {
text-decoration: none;
color: #2a037c;
color: #023140;
display: block;
height: 100%;
display: flex;
@@ -85,7 +85,8 @@ body {
text-align: center;
}
.app-item:hover {
.app-item:hover,
.app-item:focus {
transform: scale(1.05);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
+9
View File
@@ -106,6 +106,15 @@ services:
volumes:
- ./cloudflare-ddns/config.json:/config.json
restart: unless-stopped
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: gateway_uptime_kuma
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./uptime-kuma/data:/app/data
ports:
- 4393:3001
restart: always
watchtower:
image: containrrr/watchtower
container_name: gateway_watchtower