/docker-wordpress

Boilerplate for WordPress with Docker for development and production

MIT LicenseMIT

Wordpress Docker

Wordpress Docker with Nginx-Proxy with the Letsencrypt integration.

This is a boilerplate with Docker Compose files for WordPress in two different environments:

Quick start

Installation

git clone git@github.com:5queezer/docker-wordpress.git
cd docker-wordpress

Development environment

docker-compose up -d

Open your browser at http://localhost. The adminer is located at http://localhost:8080

Production environment

For production the .env file is necessary. Copy the sample file and modifiy the values.

docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d

Wordpress Credentials

Use the Bitnami credentials. Username user, Passwort bitnami

Themes

Add a theme from git as submodule:

git submodule add git@github.com:WordPress/twentynineteen.git themes/twentynineteen

Uncomment theme entry volume from docker-compose.yml and edit the theme folder name (2x).

Plugins

Proceed in a similar manner as for the themes in the section above.