Joey Hafner
54124da9d1
Also converted a few old composes from 4-space indentation to 2-space Ignores supporting containers like postgres, redis, etc.
30 lines
735 B
YAML
30 lines
735 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"
|
|
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
|
|
|
|
networks:
|
|
web:
|
|
external: true
|