Wordpress Docker with Nginx-Proxy with the Letsencrypt integration.
This is a boilerplate with Docker Compose files for WordPress in two different environments:
- local development with
- production environment with
git clone git@github.com:5queezer/docker-wordpress.git
cd docker-wordpress
docker-compose up -d
Open your browser at http://localhost. The adminer is located at http://localhost:8080
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
Use the Bitnami credentials. Username user, Passwort bitnami
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).
Proceed in a similar manner as for the themes in the section above.