ezservermonitor-web
ezservermonitor-web copied to clipboard
WIP : Use Docker
Hello !
I added a Dockerfile to run the application without to have to setup a webserver. I noticed some hot spots :
- the last login function is not working (even when mounting host
/var/log/lastlog
) - ping feature does not work as-is (the last line in output does not contains
rtt
anymore butround-trip
)
Also to get the port scan function to work, user need to tells docker to bind the ports inside the container.
I also need some feedback also to document how to run the image, will you upload the image to the Docker Hub ? (I can help you to set up simple CI) Or the user should build itself ?
Personally, I think th efirst option is better but it's up to you (:
What is the point of running this into a Docker container - you will obtain data (CPU usage, etc.) that is inside the container, and not on the host system, right?
The major pro is taht users just have one command to write to launch the container ! It's a bit easier than having to setup a whole webserver ! And no, stats from CPU, RAM and disks are from host (:
I run a site called https://plexguide.com and it make it easy for the app to deployed in one click. It doesn't run in dependency hell and is easy to manage. For example, we use netdata and that's what we'll continue to offer due to it's ease in installing. Containers also prevent conflicts with the system. Just tagging along with @MattMattV Netdata has the ability to reach outside the container and pull all this info.
https://github.com/Admin9705/PlexGuide.com-The-Awesome-Plex-Server/blob/Version-5/ansible/roles/netdata/tasks/main.yml
Example of their execution
The major pro is taht users just have one command to write to launch the container ! It's a bit easier than having to setup a whole webserver ! And no, stats from CPU, RAM and disks are from host (:
Did the docker container ever get built?