O'Reilly logo

Docker for Serverless Applications by Chanwit Kaewkasi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring with Fn UI

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required