Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- # service description
- services:
- # cloudflare tunnel
- cloudflare-tunnel:
- image: cloudflare/cloudflared
- container_name: cloudflare-tunnel
- hostname: cloudflare-tunnel
- restart: unless-stopped
- network_mode: "host"
- command: tunnel run
- volumes:
- - /etc/localtime:/etc/localtime:ro
- - ./config/hosts:/etc/hosts
- environment:
- - "TUNNEL_TOKEN=${CLOUDFLARE_TUNNEL_TOKEN}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement