cloudflared¶
Configure and deploy Cloudflare Tunnel
Builds cloudflared from nixpkgs and creates an s6 service with credentials file and tunnel configuration.
Variables¶
| Variable | Type | Default | Description |
|---|---|---|---|
cloudflared_config |
dict | Ingress rules and other tunnel configuration (merged with base tunnel config). See defaults/main.yml#L7-L12 for an example. |
|
cloudflared_credentials |
string | {"AccountTag":"","TunnelSecret":"","TunnelID":"","Endpoint":""} | JSON content of the Cloudflare Tunnel credentials file |
cloudflared_enabled |
boolean | false | Enable the cloudflared tunnel service |
cloudflared_group |
string | cloudflared | System group for the cloudflared service |
cloudflared_tunnel |
string | 00000000-0000-0000-0000-000000000000 | Tunnel ID for Cloudflare Tunnel |
cloudflared_user |
string | cloudflared | System user for the cloudflared service |