feat: allow for the port to be configured (#370)

* feat: allow for the port to be configured

* feat: default to port 8080 if there is no other port provided
This commit is contained in:
Vojtech Simetka
2022-05-19 11:37:54 +02:00
committed by GitHub
parent 145ebc1232
commit b6f138b423
2 changed files with 29 additions and 19 deletions
+9
View File
@@ -60,6 +60,15 @@ bee-dashboard
This should open the webpage on [`http://localhost:8080`](http://localhost:8080)
You can also define your own port with the `PORT` environment variable. E.g.
```sh
export PORT=3005
bee-dashboard
```
Will start the bee-dashboard on [`http://localhost:3005`](http://localhost:3005)
### Docker
To build Docker image and run it, execute the following from inside project directory: