Docker WordPress in Paranoid Mode Environment
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This software doesn't have a QA Process. This software is a Proof of Concept.
For more information please visit http://www.elevenpaths.com
This PoC automatize all the steps in order to build a docker enviroment securized with Latch and WordPress in Paranoid Mode (scripts and triggers).
a) Your favorite Linux distro
c) Docker Compose: https://docs.docker.com/compose/install/
Open your Latch developer account and create a new application.
Modify the file docker-compose.yml adding your Latch App key at variable LATCHAPPID and the secret key at LATCHSECRET generated at step 1.
sudo docker-compose up
Two docker containers should be created, dbwpm (mysql) and wpm (WordPress)
Open at your current browser the follwing URL and follow the steps to install WordPress normally:
- Run the following command to install WPM in mysql container:
sudo docker exec -it dbwpm ./install.sh
Type the token (you can generate it from the Latch mobile application) when asked during the script execution to pair the new application created at step 1.
To avoid any issue, close and open the web browser before log in again to Wordpress (localhost:8000) url.
Test the new WPM capabilities from the Latch mobille application.
By IdeasLocas CDO Team