Add services pcport command by elliotthilaire-ca · Pull Request #2784 · jetify-com/devbox

Skip to content

Navigation Menu

Sign in

Appearance settings

Conversation

This command returns the port that process-compose is running on. That
makes it more feasible to use the process-compose api in scripting.

For example:
```
pcport=$(dist/devbox services pcport)
curl http://localhost:$pcport/process/good-server | jq ".status,
.is_ready"
```