Sign inSign up

jesusgraterol/balancer-ct

By jesusgraterol

•Updated 12 months ago

The ct is powered by BusyBox, designed to run the cloudflared service.

Image
Networking
Security
0

2.3K

jesusgraterol/balancer-ct repository overview

⁠ct

The ct is a Docker image powered by BusyBox⁠, designed to run the cloudflared⁠ service without requiring secrets to be specified via environment variables.

Cloudflare Tunnel provides a secure and reliable way to expose Balancer's services to the Internet with a Zero Trust approach. Using the cloudflared⁠ image, Tunnel establishes encrypted connections between your internal services and Cloudflare's global network, eliminating the need for public IP addresses and reducing your attack surface. This allows you to control access to your applications, ensuring only authorized users and devices can reach your services.


⁠Why isn't the cloudflared service declared directly in the compose.yaml file?

Traditionally, Cloudflare Tunnel has been integrated into Docker Compose by directly including the cloudflared⁠ service. However, this approach requires exposing the sensitive TUNNEL_TOKEN as an environment variable, posing a security risk to the Balancer platform.

Balancer prioritizes security by exclusively passing sensitive data to containers through filesystem-based secrets. To address this, the Balancer Cloudflare Tunnel image leverages a multi-stage build approach using busybox⁠. This allows the image to securely invoke cloudflared⁠ within a shell environment, reading the TUNNEL_TOKEN from a secrets file and setting it as an environment variable before execution. This ensures the token is never directly exposed within the container's environment or configuration.

For more information, visit:


⁠Acknowledgments


⁠License

Apache v2.0⁠

Tag summary

Content type

Image

Digest

sha256:17ed2fbcb…

Size

27.9 MB

Last updated

12 months ago

docker pull jesusgraterol/balancer-ct