From a6f87b2a0f157b65406dee672931cd322c9da3f3 Mon Sep 17 00:00:00 2001 From: Jeff Clement Date: Fri, 15 Nov 2024 16:18:30 -0700 Subject: [PATCH] UptimeKuma ++ --- uptimekuma_cloudflare/.env | 3 +++ uptimekuma_cloudflare/README.md | 8 ++++++++ uptimekuma_cloudflare/docker-compose.yml | 8 ++++++++ 3 files changed, 19 insertions(+) create mode 100644 uptimekuma_cloudflare/.env create mode 100644 uptimekuma_cloudflare/README.md create mode 100644 uptimekuma_cloudflare/docker-compose.yml diff --git a/uptimekuma_cloudflare/.env b/uptimekuma_cloudflare/.env new file mode 100644 index 0000000..4be0ad9 --- /dev/null +++ b/uptimekuma_cloudflare/.env @@ -0,0 +1,3 @@ +# Cloudflare Tunnel Token +# Setup tunnel to http://kuma:3001 +TUNNEL_TOKEN= ##REQUIRED## \ No newline at end of file diff --git a/uptimekuma_cloudflare/README.md b/uptimekuma_cloudflare/README.md new file mode 100644 index 0000000..ccad11d --- /dev/null +++ b/uptimekuma_cloudflare/README.md @@ -0,0 +1,8 @@ +# Uptime Kuma via. Cloudflare + +There is almost no setup required and, luckily, Uptime Kuma includes +Cloudflared. + +1. Generate a new Tunnel pointing to `http://kuma:3001` +2. Paste the Tunnel token into .env +3. Start 'er up! \ No newline at end of file diff --git a/uptimekuma_cloudflare/docker-compose.yml b/uptimekuma_cloudflare/docker-compose.yml new file mode 100644 index 0000000..17a0c38 --- /dev/null +++ b/uptimekuma_cloudflare/docker-compose.yml @@ -0,0 +1,8 @@ +services: + kuma: + image: "louislam/uptime-kuma:1" + restart: always + environment: + - UPTIME_KUMA_CLOUDFLARED_TOKEN=${TUNNEL_TOKEN} + volumes: + - ./data:/app/data \ No newline at end of file