https://github.com/nickolaso/docker-worpress-boilerplate
Simple Docker Wordpress Example for starting new projects. Includes HTTPS
https://github.com/nickolaso/docker-worpress-boilerplate
docker https mysql nginx wordpress
Last synced: about 2 months ago
JSON representation
Simple Docker Wordpress Example for starting new projects. Includes HTTPS
- Host: GitHub
- URL: https://github.com/nickolaso/docker-worpress-boilerplate
- Owner: nickolaso
- License: gpl-3.0
- Created: 2025-06-16T16:23:20.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-06-26T00:42:39.000Z (11 months ago)
- Last Synced: 2025-06-26T01:29:57.912Z (11 months ago)
- Topics: docker, https, mysql, nginx, wordpress
- Language: PHP
- Homepage:
- Size: 12.3 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-worpress-boilerplate
Simple Docker Wordpress Example for starting new projects. Includes HTTPS
- Adding a domain name or using ["http://localhost:8080"]
- Having a valid "HTTPS" certificate on the local development machine
# Requirements
- Docker - "https://www.docker.com/"
- mkcert - "https://github.com/FiloSottile/mkcert"
# Setup
```
cd docker-wordpress-boilerplate && docker-compose up.
```
### Access the site using the domain name
- Add the "127.0.0.1 docker-worpress-boilerplate" line to the "/etc/hosts" file.
- Now open your browser and try - ["http://docker-worpress-boilerplate:8080"]
### To replace the default cert files run the command below in the site directory
```
cd docker-wordpress-boilerplate/nginx && mkcert -cert-file docker-worpress-boilerplate.crt -key-file docker-worpress-boilerplate.key
docker-worpress-boilerplate && mkcert install docker-worpress-boilerplate.key
```