From 48f0b0b757ee111d6969c748514be9e94482ea76 Mon Sep 17 00:00:00 2001 From: "kube-master@emrekirman.com" Date: Thu, 25 Sep 2025 11:09:04 +0000 Subject: [PATCH] uptime kuma product manifest added --- uptime-kuma/README.md | 1 + uptime-kuma/kuma.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 uptime-kuma/README.md create mode 100644 uptime-kuma/kuma.yml diff --git a/uptime-kuma/README.md b/uptime-kuma/README.md new file mode 100644 index 0000000..858d286 --- /dev/null +++ b/uptime-kuma/README.md @@ -0,0 +1 @@ +docker stack deploy -c kuma.yml kuma diff --git a/uptime-kuma/kuma.yml b/uptime-kuma/kuma.yml new file mode 100644 index 0000000..0e1d973 --- /dev/null +++ b/uptime-kuma/kuma.yml @@ -0,0 +1,37 @@ +version: "3.8" + +services: + uptime-kuma: + image: louislam/uptime-kuma:latest + ports: + - "3001:3001" # UI: http://: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 == dev # 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 +