basilhendroff / truenas-iocage-wordpress

Script to install WordPress in an iocage jail including MariaDB, the PHP scripting language, Caddy, Redis and phpMyAdmin.
GNU General Public License v3.0
6 stars 6 forks source link

added JAIL_NAME to db and files default #4

Closed NasKar2 closed 4 years ago

NasKar2 commented 4 years ago

add variable JAIL_NAME to default DB_PATH and FILES_PATH. Allow easy install of another instance of wordpress.

basilhendroff commented 4 years ago

Most users will be satisfied with a single WP jail so the wordpress default is sufficient.

I had previously considered what you're suggesting, but then discounted it. This issue I have with it is that WP jails are mixed in with other apps. If you look at the README.md for this script, you will notice the preferred override location for multiple WP jails (refer to the end of the Installation topic, just prior to the Execution heading). This approach groups multiple WP jails under the wordpress root.