Command Line Tools
wheels deploy proxy boot
Install and run the kamal-proxy singleton on every host. First-run verb — pair with setup which calls this automatically.
Synopsis
Section titled “Synopsis”wheels deploy proxy boot [--destination=<name>] [--dry-run]| Flag | Description |
|---|---|
--destination=<name> | Overlay destination config. |
--dry-run | Print the commands without executing. |
Behavior
Section titled “Behavior”For every host across every role (the proxy is a per-host singleton):
docker run -d --restart unless-stopped \ --name kamal-proxy \ --network kamal \ --publish 80:80 --publish 443:443 \ -v /home/<user>/.config/kamal-proxy:/config \ basecamp/kamal-proxy:v0.8.6 \ runFails fast if port 80 or 443 is occupied on any host.
Example
Section titled “Example”wheels deploy proxy boot