ezservermonitor-web icon indicating copy to clipboard operation
ezservermonitor-web copied to clipboard

WIP : Use Docker

Open MattMattV opened this issue 7 years ago • 4 comments

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 but round-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 (:

MattMattV avatar Oct 19 '17 11:10 MattMattV

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?

huguesgr avatar Oct 23 '17 09:10 huguesgr

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 (:

MattMattV avatar Oct 24 '17 06:10 MattMattV

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

image

Admin9705 avatar Jun 13 '18 16:06 Admin9705

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?

justinglock40 avatar May 01 '20 13:05 justinglock40