tusc / ntopng-udm

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

Externalize ntopng configs using docker volume mounts #2

Closed boostchicken closed 4 years ago

boostchicken commented 4 years ago

This is a best practice and should ensure any data is not lost during firmware updates.

tusc commented 4 years ago

Good point boostchicken. I think the ntopng.conf file would be suited for this. I should probably create a directory under /mnt/data to store, no?

rodalpho commented 4 years ago

That would be perfect, that's where I store my Adguard Home container info.

ALL data should be retained outside the container, such that if the container is replaced nothing is lost. This includes the backend database and all configuration.

tusc commented 4 years ago

Just updated the code for these changes. Let me know if it works out.

boostchicken commented 4 years ago

@tusc looks good to me installing now.