docker-compose/cloudflare-tunnel.yaml

13 lines
317 B
YAML

version: "3"
networks:
cloudflare-tunnel:
external: true
services:
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
command: tunnel --no-autoupdate run --token <token>
networks:
cloudflare-tunnel:
ipv4_address: <static ip>
restart: unless-stopped