Example docker-compose.yaml for UptimeKuma

version: '3.3'

services:
  uptime-kuma:
    image: louislam/uptime-kuma:1.23.0-beta.1
    container_name: uptime-kuma
    restart: always
    volumes:
      - ./uptime-kuma:/app/data
    ports:
      - 3001:3001
    labels:
      - traefik.http.services.uptimekuma.loadbalancer.server.port=3001
      - traefik.http.routers.uptimekuma.rule=Host(`uptime.sntxrr.dev`)
      - traefik.http.routers.uptimekuma.tls=true
      - traefik.http.routers.uptimekuma.tls.certresolver=lets-encrypt
      - traefik.enable=true
      - "com.centurylinklabs.watchtower.enable=true"
    networks:
      - internal
      - web

networks:
    web:
        external: true
    internal:
        external: false