All Projects → johanan → Dockerized-Wordpress-the-Correct-way

johanan / Dockerized-Wordpress-the-Correct-way

Licence: other
No description, website, or topics provided.

Programming Languages

shell
77523 projects
ruby
36898 projects - #4 most used programming language
Nginx
273 projects

Wordpress on Docker the correct way

This project is designed to create a series of Docker containers running Wordpress. The modifier "correct way" is used because this process uses multiple containers instead of stuffing everything into one container. This makes the entire process more robust and extensible.

Get Started

The first thing you need to do is install Ansible. I recommend using a virtualenv and installing from the requirements.txt in the root.

Next install Vagrant.

Finally rename example_env to .env and set the values. The values are as follows:

  • MYSQL_ROOT_PASSWORD - the root password for MySQL
  • MYSQL_USER - the user your site will use
  • MYSQL_PASSWORD - the password for the user
  • MYSQL_DATABASE - the name of the database for your site
  • NEWUSER - a username that will be created on the server
  • SSH_KEY - the path to the SSH key for the created user

Videos

I have created a playlist on YouTube that covers the entire process. Watch them for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].