Files
docker/monitoring/uptime-kuma/docker-compose.yml
T

35 lines
1012 B
YAML

services:
monitor-kuma:
profiles: ["monitoring","all","uptime-kuma"]
image: louislam/uptime-kuma:2.1.1
container_name: monitor-kuma
restart: always
depends_on:
- docker-socket-proxy
environment:
DOCKER_HOST: tcp://docker-socket-proxy:2375
volumes:
- ${PROJECT_ROOT}/monitoring/uptime-kuma/data:/app/data
# ports:
# - 8888:3001
labels:
- traefik.enable=true
# Router
- traefik.http.routers.monitor.rule=Host(`monitor-kuma.lan.ddnsgeek.com`)
- traefik.http.routers.monitor.entrypoints=websecure
- traefik.http.routers.monitor.tls=true
- traefik.http.routers.monitor.tls.certresolver=myresolver
- io.portainer.accesscontrol.public
- traefik.docker.network=core_traefik
# Service -> container port
- traefik.http.services.monitor.loadbalancer.server.port=3001
networks:
# - traefik_reverse_proxy
- traefik
- monitor
#networks:
# traefik_reverse_proxy:
# external: true