services: app: image: louislam/uptime-kuma container_name: uptime-kuma hostname: uptime-kuma restart: always ports: - 3001:3001 expose: - 3001 dns: - 1.1.1.1 - 8.8.8.8 volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/uptimekuma:/app/data #networks: # - proxy #labels: # - traefik.enable=true # - traefik.docker.network=proxy # - traefik.http.routers.uptimekuma.rule=Host(`uptimekuma.example.com`) # - traefik.http.services.uptimekuma.loadbalancer.server.port=3001 # # Part for local lan services only # #- traefik.http.routers.uptimekuma.middlewares=local-ipwhitelist@file #networks: # proxy: # external: true