Manifests/uptime-kuma/kuma.yml
kube-master@emrekirman.com 43f0fc45f6 new manfiests added
2025-10-20 13:19:51 +00:00

38 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

version: "3.8"
services:
uptime-kuma:
image: louislam/uptime-kuma:latest
ports:
- "3001:3001" # UI: http://<sunucu-ip>:3001
volumes:
- uptime-kuma-data:/app/data # SQLite verileri burada kalıcı
environment:
- TZ=Europe/Istanbul
deploy:
replicas: 1 # SQLite ile tek replica önerilir
restart_policy:
condition: on-failure
delay: 5s
max_attempts: 10
window: 120s
update_config:
parallelism: 1
order: stop-first
failure_action: rollback
placement:
constraints:
- node.labels.platform == prod # Yalnızca dev etiketli node'a yerleşsin
# Eğer Traefik kullanıyorsan (opsiyonel), şu label'ları açabilirsin:
# labels:
# - "traefik.enable=true"
# - "traefik.http.routers.kuma.rule=Host(`status.example.com`)"
# - "traefik.http.routers.kuma.entrypoints=websecure"
# - "traefik.http.services.kuma.loadbalancer.server.port=3001"
volumes:
uptime-kuma-data:
name: uptime-kuma-data
driver: local