tusc / ntopng-udm

ntopng Docker image for the UDM base and UDM pro
162 stars 20 forks source link

use /mnt/data_ext for more disk space when using a hard drive installed in UDM Pro #12

Closed codearrangertoo closed 3 years ago

codearrangertoo commented 4 years ago

I've installed a 256G SSD in my UDM Pro and I've deployed this project on that drive.

Here's the command I use to start the container:

podman run -d --net=host --restart always \
   --name ntopng \
   -v /mnt/data_ext/ntopng/GeoIP.conf:/etc/GeoIP.conf \
   -v /mnt/data_ext/ntopng/ntopng.conf:/etc/ntopng/ntopng.conf \
   -v /mnt/data_ext/ntopng/redis.conf:/etc/redis/redis.conf \
   -v /mnt/data_ext/ntopng/lib:/var/lib/ntopng \
   docker.io/tusc/ntopng-udm:latest            
tusc commented 4 years ago

Thanks, yes you can use the path to the external drive as the location for the ntopng config/database files. I will update the readme to include this.

tomwardrop commented 3 years ago

That's really useful thanks! - Any updates to 4.2.0 coming up?

tusc commented 3 years ago

4.2 was just pushed out yesterday.