homelab/server/config/uptime-kuma/docker-compose.yml

30 lines
735 B
YAML
Raw Normal View History

2022-02-08 17:00:27 -08:00
# 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"
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=authentik@file
2022-02-08 17:00:27 -08:00
networks:
web:
external: true