Closed
Description
Describe the bug
POWERPIPE_PORT environment variable is not honored by powerpipe server
and it forces to pass --port "$POWERPIPE_PORT"
option, otherwise the default port (9033) is used.
Below you can see that although POWERPIPE_PORT environment variable is used, powerpipe server does not honor it and listens on the default port (9033).
$ env | grep POWERPIPE_PORT
POWERPIPE_PORT=9194
$ powerpipe server
[ Wait ] Starting WorkspaceEvents Server
[ Message ] WorkspaceEvents loaded
[ Message ] Initialization complete
[ Ready ] Dashboard server started on 9033 and listening on local
[ Message ] Visit http://localhost:9033
[ Message ] Press Ctrl+C to exit
Powerpipe version (powerpipe -v
)
$ powerpipe -v
Powerpipe v0.3.1
To reproduce
- Use POWERPIPE_PORT
- Execute
powerpipe server
- Try to access powerpipe with the port specified in POWERPIPE_PORT
Expected behavior
POWERPIPE_PORT environment variable should be honored by powerpipe server
without specifying --port
option.
Additional context
Activity