Added uptime-kuma to services
This commit is contained in:
parent
9d24b137c5
commit
5d48df697d
6
.gitignore
vendored
Normal file
6
.gitignore
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# Ignore all files
|
||||||
|
**
|
||||||
|
|
||||||
|
# Allow docker-compose.yml
|
||||||
|
!docker-compose.yml
|
||||||
|
!/*
|
28
Misc/docker-compose.yml
Normal file
28
Misc/docker-compose.yml
Normal 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
|
@ -17,6 +17,10 @@ cd ./Bitwarden/
|
|||||||
docker-compose down
|
docker-compose down
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
cd ./Misc/
|
||||||
|
docker-compose down
|
||||||
|
cd ..
|
||||||
|
|
||||||
cd ./Traefik/
|
cd ./Traefik/
|
||||||
docker-compose down
|
docker-compose down
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user