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

Closed
opened 2026-02-05 02:17:24 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @blackstormlab on GitHub (Jun 19, 2024).

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

Originally created by @blackstormlab on GitHub (Jun 19, 2024). ### Discussed in https://github.com/dani-garcia/vaultwarden/discussions/4620 <div type='discussions-op-text'> <sup>Originally posted by **StinkyTACO** June 5, 2024</sup> 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</div>
Author
Owner

@dfunkt commented on GitHub (Jun 19, 2024):

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.

@dfunkt commented on GitHub (Jun 19, 2024): 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.
Author
Owner

@blackstormlab commented on GitHub (Jun 20, 2024):

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.

@blackstormlab commented on GitHub (Jun 20, 2024): 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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/vaultwarden#1941