You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multiple instance of process-compose are ran concurrently, only the first instance is accessible via REST API. This can lead to confusion, if one forgets that an instance is already running in the background and starts a new one, and the tries to access it via REST or process-compose command (like process-compose process list etc).
This is also the case if any other process is already using the port process-compose is supposed to use.
IMHO, process-compose should exit with an error if it cannot bind the the port. If one doesn't intend to use the REST interface, a flag to disable the REST server could be provided.
Version of process-compose:
Process Compose
Version: v0.51.4
Commit: e3cc52e
OS environment:
nixos
Steps or code to reproduce the issue:
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered:
Defect
When multiple instance of
process-compose
are ran concurrently, only the first instance is accessible via REST API. This can lead to confusion, if one forgets that an instance is already running in the background and starts a new one, and the tries to access it via REST orprocess-compose
command (likeprocess-compose process list
etc).This is also the case if any other process is already using the port process-compose is supposed to use.
IMHO,
process-compose
should exit with an error if it cannot bind the the port. If one doesn't intend to use the REST interface, a flag to disable the REST server could be provided.Version of
process-compose
:OS environment:
nixos
Steps or code to reproduce the issue:
Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: