mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-12-04 05:40:30 +00:00
28 lines
1 KiB
YAML
28 lines
1 KiB
YAML
version: '3.3'
|
|
services:
|
|
uptime-kuma:
|
|
image: louislam/uptime-kuma:1
|
|
container_name: uptime-kuma
|
|
volumes:
|
|
- /home/ubuntu/docker/uptime-kuma:/app/data
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
networks:
|
|
proxy:
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.uptime-kuma.entrypoints=http"
|
|
- "traefik.http.routers.uptime-kuma.rule=Host(`uptime-kuma.yourdomain.com`)"
|
|
- "traefik.http.middlewares.uptime-kuma-https-redirect.redirectscheme.scheme=https"
|
|
- "traefik.http.routers.uptime-kuma.middlewares=uptime-kuma-https-redirect"
|
|
- "traefik.http.routers.uptime-kuma-secure.entrypoints=https"
|
|
- "traefik.http.routers.uptime-kuma-secure.rule=Host(`uptime-kuma.yourdomain.com`)"
|
|
- "traefik.http.routers.uptime-kuma-secure.tls=true"
|
|
- "traefik.http.routers.uptime-kuma-secure.service=uptime-kuma"
|
|
- "traefik.http.services.uptime-kuma.loadbalancer.server.port=3001"
|
|
- "traefik.docker.network=proxy"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|