corgi agent tunnel setup
corgi agent tunnel setup
One-time setup for a launcher URL that survives restarts
Synopsis
Does the permanent-URL setup end to end and remembers it for later runs.
For cloudflared (the default) it logs you in if needed, creates the named
tunnel when it does not exist, routes the DNS name to it, and saves both flags
so a plain corgi agent restart keeps the same URL — and the phone
stays paired, because the origin never changes.
For ngrok it checks the authtoken and saves the domain. Every free account
already has one static *.ngrok-free.dev dev domain — copy it from
dashboard.ngrok.com/domains; its name cannot be chosen on the free tier.
corgi agent tunnel setup <hostname> [flags]
Options
--dry-run Print the commands without running them
-h, --help help for setup
--name string cloudflared tunnel name to create or reuse (default "corgi-agent")
--provider string Tunnel provider (cloudflared|ngrok) (default "cloudflared")
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi agent tunnel - Set up the permanent launcher URL