Preface#
There are too many services deployed on the intranet, with different IP addresses and different ports, making it impossible to remember.
There are two solutions:
- Configure a DNS server to resolve the intranet domain name to Nginx, and then use Nginx to set up port forwarding to achieve domain name access to IP + port.
- Install a bookmark service to manage addresses.
I have tried both methods, but ultimately chose the second one. As for the reason, although the first method can achieve a one-time solution, setting up domain name resolution and modifying the Nginx configuration file is a relatively cumbersome process, requiring about 3-5 minutes for each new application deployment. There are benefits as well, as the process can provide a lot of knowledge points.
The second solution is relatively simple and straightforward, requiring no extra configuration. After the application is completed, it only takes 1 minute to modify the bookmark.
Deployment#
There are many online bookmark tools, but I chose Flare because I wanted a feature-rich, beautiful, and lightweight tool. This application was originally developed by a Polish developer as the Flame bookmark application, and later refactored and open-sourced by the Chinese developer Su Yang using Go language. The open-source repository can be found at: https://github.com/soulteary/docker-flare
Docker Method#
docker run --rm -it -p 5005:5005 -v `pwd`/app:/app soulteary/flare
Kubernetes Method#
Finally, open a port for access after deployment.
Settings#
Click the help button at the bottom left of the page to enter the global settings page.
In content editing, you can add tags. Here is the navigation content I prepared when writing this blog post, which only includes some streaming-related applications.
Postscript#
The entire application may seem simple, but it is not easy. It can even set up user login and be placed on the public network as a sharing page. For more details, please read Su Yang's blog