docker-compose/cloudflare-tunnel.yaml

13 lines
329 B
YAML

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