-
-
Notifications
You must be signed in to change notification settings - Fork 53
Client Mode
Berger Eugene edited this page Oct 28, 2022
·
3 revisions
Process compose can also connect to itself as client.
Available commands:
process-compose process list #lists available processes
process-compose process start [PROCESS] #starts one of the available non running processes
process-compose process stop [PROCESS] #stops one of the running processes
process-compose process restart [PROCESS] #restarts one of the available processes
Restart will wait process.availability.backoff_seconds
seconds between stop
and start
of the process. If not configured the default value is 1s.
By default the client will try to use the default port 8080
and default address localhost
to connect to the locally running instance of process-compose. You can provide deferent values:
process-compose -p PORT process -a ADDRESS list
Execute operations on available processes
Usage:
process-compose process [command]
Available Commands:
list List available processes
restart Restart a process
start Start a process
stop Stop a running process
Flags:
-a, --address string address of a running process compose server (default "localhost")
-h, --help help for process
Global Flags:
-p, --port int port number (default 8080)