add uptime_kuma role

This commit is contained in:
Sergey Malyuk
2025-12-17 13:58:23 +03:00
parent cb48bdd979
commit 8d365a82df
21 changed files with 393 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# kics-scan disable=ce76b7d0-9e77-464d-b86f-c5c48e03e22d
---
services:
uptime-kuma:
image: louislam/uptime-kuma:{{ kuma_img_version }}
container_name: uptime-kuma
volumes:
- {{ kuma_project_dir }}/data:/app/data
restart: unless-stopped
cap_drop:
- ALL
cap_add:
- CAP_NET_ADMIN
- CAP_NET_RAW
- CAP_SETGID
- CAP_SETUID
security_opt:
- no-new-privileges:true
network_mode: host
healthcheck:
test: ["CMD-SHELL", "node extra/healthcheck.js"]
interval: 60s
timeout: 10s
retries: 3
logging:
driver: journald
options:
tag: uptime-kuma
deploy:
replicas: 1
resources:
limits:
cpus: {{ kuma_limit_cpus }}
memory: {{ kuma_limit_ram }}
volumes:
uptime-kuma-data: