docker-containers/uptime-kuma-traefik.yml

23 lines
561 B
YAML
Raw Normal View History

2023-10-01 13:07:59 +08:00
version: '3.3'
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
volumes:
- /opt/uptime-kuma:/app/data
ports:
- 3001:3001
restart: always
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.bookstack.rule=Host(`uptime.3err0.ru`)"
- "traefik.http.services.bookstack.loadbalancer.server.port=80"
- "traefik.http.routers.bookstack.tls=true"
- "traefik.http.routers.bookstack.tls.certresolver=http"
networks:
web:
external: true