Jafner.net/homelab/archives/server/uptime-kuma/docker-compose.yml

31 lines
748 B
YAML

# Simple docker-composer.yml
# You can change your port or volume location
version: '3.3'
services:
uptime-kuma:
image: louislam/uptime-kuma
container_name: monitoring_uptime-kuma
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
volumes:
- ${DOCKER_DATA}/data:/app/data
networks:
- web
labels:
- traefik.http.routers.uptime-kuma.rule=Host(`uptime.jafner.net`)
- traefik.http.routers.uptime-kuma.tls.certresolver=lets-encrypt
#- traefik.http.routers.uptime-kuma.middlewares=
networks:
web:
external: true