Webpage broken on Docker install; mapped to port 8080


Installed LibreNMS on docker and it is up and running. It is mapped to port 8080 as I have UNMS running on 80. The initial login screen looks fine as well as the Dashboards screen. However, when I go to the addhost page (or any other ling), it is a complete mess.

Component Version
LibreNMS 1.46
DB Schema 272
PHP 7.2.12-1+ubuntu18.04.1+deb.sury.org+1
MySQL 5.6.42
RRDTool 1.7.0


[OK] Composer Version: 1.8.0
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] You have not added any devices yet.
You can add a device in the webui or with ./addhost.php
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[WARN] Your install is over 24 hours out of date, last update: Sun, 02 Dec 2018 20:48:18 +0000
Make sure your daily.sh cron is running and run ./daily.sh by hand to see if there are any errors.
[WARN] Your local git branch is not master, this will prevent automatic updates.
You can switch back to master with git checkout master


Port needs to be specified in the config. It is trying to load assets from your unms :rofl:

Check the docs, I can’t look it up for you right now.


Wasn’t really able to find anything in the docs. However it appears I was able to resolve the issue. I changed BASE_URL from http://ServerIP:8080 to /:8080.