services: cloudflared: image: cloudflare/cloudflared:2025.5.0 container_name: cloudflared restart: unless-stopped command: tunnel --protocol http2 run volumes: - ./config.yml:/etc/cloudflared/config.yml:ro - ./credentials.json:/etc/cloudflared/credentials.json:ro networks: - homelab_net networks: homelab_net: external: true