User tests: Successful: Unsuccessful:
As Joomla! provides a Docker image, the chance of using "localhost" is never. Therefore if the container is scheduled in an environment where you cannot access the container (not that you should ever need to) then you need to be able to bypass this check. This environment variable can be placed in the containers build file and will disable checks meaning you can install hassle free.
This check still keeps the installation secure as you'd need the same access to the server to delete the file.
Pull Request for Issue # joomla/docker-joomla#25.
Allow the check for localhost to be bypassed by an environment variable.
Set the environment variable JOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK
to one, attempt to install on a non localhost database server and no requirements to delete files should be shown.
This will need to go into the Joomla! docker build files, but may help to be documented somewhere.
There is a PR depending on this: joomla/docker-joomla#26
Category | ⇒ | Installation |
Status | New | ⇒ | Pending |
From a practical perspective seems fine. @joomla/security review please.
Fine for me
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-07-27 19:54:28 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
?
|
/ping @mbabker can you take a look at this as I seen you've created the Docker image.