feat: add cloudflared

This commit is contained in:
2025-12-17 16:54:31 +00:00
parent 005cbc4224
commit f44f94d239
2 changed files with 19 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ The backbone of the operation. Without these, nothing talks to anything.
* **DNS / AdBlocker**: `dns/adguard` - AdGuard Home for network-wide ad blocking and DNS management. * **DNS / AdBlocker**: `dns/adguard` - AdGuard Home for network-wide ad blocking and DNS management.
* **Reverse Proxy**: `proxies/npm` - Nginx Proxy Manager to handle SSL and route traffic. * **Reverse Proxy**: `proxies/npm` - Nginx Proxy Manager to handle SSL and route traffic.
* **Remote Access**: `remote_access/cloudflared` - Cloudflare Tunnel for secure remote access.
```text ```text
__ __ _ __ __ _
@@ -67,6 +68,8 @@ Because all work and no play makes the server a dull boy.
├── media/ ├── media/
├── proxies/ ├── proxies/
│ └── npm/ │ └── npm/
├── remote_access/
│ └── cloudflared/
├── version_control/ ├── version_control/
│ └── gittea/ │ └── gittea/
└── volumes/ └── volumes/

View File

@@ -0,0 +1,16 @@
services:
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
restart: unless-stopped
command: tunnel run
volumes:
- ${CONFIG_ROOT}/cloudflared:/etc/cloudflared
environment:
- TUNNEL_TOKEN=${TUNNEL_TOKEN}
labels:
homepage.group: "Remote Access"
homepage.name: "Cloudflared"
homepage.icon: "cloudflare.png"
homepage.href: "https://one.dash.cloudflare.com"
homepage.description: "Cloudflare Tunnel"