2023-11-14 16:32:02 +00:00
|
|
|
version: "3"
|
|
|
|
networks:
|
|
|
|
cloudflare-tunnel:
|
|
|
|
external: true
|
|
|
|
services:
|
2023-12-27 19:18:28 +00:00
|
|
|
cloudflare_tunnel:
|
2023-11-14 16:32:02 +00:00
|
|
|
image: cloudflare/cloudflared:latest
|
2023-12-27 19:18:28 +00:00
|
|
|
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
|