dani-garcia / vaultwarden

Unofficial Bitwarden compatible server written in Rust, formerly known as bitwarden_rs
GNU Affero General Public License v3.0
37.31k stars 1.82k forks source link

Convoluted cloudflare tunnel instructions (No insult intended just curious). #4658

Closed StinkyTACO closed 3 months ago

StinkyTACO commented 3 months ago

Discussed in https://github.com/dani-garcia/vaultwarden/discussions/4620

Originally posted by **StinkyTACO** June 5, 2024 is there any reason to follow the convoluted setup for a cloudflare tunnel with making the .yml and .json files and base64 decoding it instead of just using an environment variable with the tunnel token instead ? somethig like this instead: cloudflare-tunnel: image: cloudflare/cloudflared:latest restart: always environment: - TUNNEL_TOKEN=tokenhere command: tunnel --no-autoupdate run
dfunkt commented 3 months ago

The config above is pretty close to what I use, which implies configuring the tunnel via the web. The guide in the wiki is intended for a manual configuration of the tunnel.

StinkyTACO commented 3 months ago

cool i wanted to make sure there was no reason to it because using it the other way just seems complicated for no real benefit.