Fn UI is the user interface project created for Fn. It provides a simple dashboard with easy-to-use time series graphs to monitor how functions are doing in near real time. To start the Fn UI, we create and attach the container to the fn_net, also with the port published to 4000. The Fn UI requires the URL of an Fn Server. But all of them are behind the Fn LB, so we just set FN_API_URL to the Fn LB location.
Please note that they are all connected to each other inside the fn_net network, so the URL appears to be http://fnlb:8081, using the real name and port of fnlb inside the network:
$ docker run --detach \ --network fn_net \ --network-alias fnui \ -p 4000:4000 \ -e "FN_API_URL=http://fnlb:8081" fnproject/ui
After ...