Added uptime-kuma to services

This commit is contained in:
Luke Else 2024-03-03 14:20:06 +00:00
parent 9d24b137c5
commit 5d48df697d
4 changed files with 42 additions and 0 deletions

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
# Ignore all files
**
# Allow docker-compose.yml
!docker-compose.yml
!/*

28
Misc/docker-compose.yml Normal file
View File

@ -0,0 +1,28 @@
version: '3.8'
services:
#Status Page ()
status:
image: louislam/uptime-kuma:latest
container_name: status
volumes:
- ./data:/app/data
networks:
- proxy
labels:
## Expose uptime-kuma Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.middlewares.redirect-web-secure.redirectscheme.scheme=https"
- "traefik.http.routers.status-insecure.middlewares=redirect-web-secure"
- "traefik.http.routers.status-insecure.rule=Host(`status.luke-else.co.uk`)"
- "traefik.http.routers.status-insecure.entrypoints=web"
- "traefik.http.routers.status.rule=Host(`status.luke-else.co.uk`)"
- "traefik.http.routers.status.entrypoints=websecure"
- "traefik.http.routers.status.tls.certresolver=myresolver"
restart: unless-stopped
networks:
proxy:
external: true

View File

@ -17,6 +17,10 @@ cd ./Bitwarden/
docker-compose down
cd ..
cd ./Misc/
docker-compose down
cd ..
cd ./Traefik/
docker-compose down
cd ..

View File

@ -19,3 +19,7 @@ cd ..
cd ./Bitwarden/
docker-compose pull && docker-compose up -d
cd ..
cd ./Misc/
docker-compose pull && docker-compose up -d
cd ..