Cloudflared 安装

496 阅读1分钟

介绍

Contains the command-line client for Cloudflare Tunnel, a tunneling daemon that proxies traffic from the Cloudflare network to your origins. This daemon sits between Cloudflare network and your origin (e.g. a webserver). Cloudflare attracts client requests and sends them to you via this daemon, without requiring you to poke holes on your firewall --- your origin can remain as closed as possible.

Docker Compose

cat > docker-compose.yml <<-'EOF'
# port: 12477
version: "3"

services:
  cloudflared:
    image: impossible98/cloudflared
    environment:
      # ADDRESS: "192.168.31.63"
    ports:
      - '12477:12477'
    restart: unless-stopped

EOF