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