docker-compose/cloudflare-tunnel.yaml

13 lines
329 B
YAML
Raw Normal View History

2023-11-14 16:32:02 +00:00
version: "3"
networks:
cloudflare-tunnel:
external: true
services:
cloudflare_tunnel:
2023-11-14 16:32:02 +00:00
image: cloudflare/cloudflared:latest
container_name: cloudflare-tunnel
2023-11-14 16:32:02 +00:00
command: tunnel --no-autoupdate run --token <token>
networks:
cloudflare-tunnel:
ipv4_address: <static ip>
restart: unless-stopped