Prior to this weekend, I was running TrueNAS CORE with a bunch of jails for various web-based apps (Nextcloud, Piwigo). I also had / currently have a VM running Virtualmin, that is in my DMZ and acts as a Proxy to the various jails, as well as hosting its own sites (a bunch of hobby sites with WordPress, Joomla, etc.)
I migrated to TrueNAS SCALE, deciding to take the hit of some downtime while I learned the new system - it’s a personal server, and nothing critical will be affected while I get this sorted out. The VM moved over smoothly, so Websites and the Proxy server are working fine. So far, so good.
Now for the challenge of the apps - I am trying to decide between 1) Using the various apps built into Scale and proxying to them, or 2) Setting them up in my Virtualmin VM, and mounting the storage via NFS to a TrueNAS share, so that the data is outside of the VM and can be backed up / snapshotted easily.
My main concern is that with the Apps, everything will have the same IP as the host, and use different ports. Is there a way under Dragonfish to set up each app with its own environment, similar to how Jails worked under CORE? That would be ideal, as then I can just proxy to the environment from my VM, and don’t need to worry about port adjustment, etc.