lizard port
Show or change the container port for a service. No argument prints the current port (worker mode when it’s 0). A new port takes effect on the next deploy; run lizard redeploy to apply it.
Usage
lizard port [value] [flags]Flags
| Flag | Description |
|---|---|
-s, --service <name> | Service to target |
-p, --project <id> | Project name, slug, or ID |
Examples
Show the current port
lizard portSet the port for a specific service
lizard port 0 -s workerCheck the port on a worker service
lizard port --service workerSee also
- Background workers — set the port to
0to run a service without inbound routing - lizard service — manage the rest of a service’s configuration
- Python app build and start commands — why a
gunicornoruvicornprocess has to bind$PORTon0.0.0.0
Updated