Skip to content

Set up a wordpress site quickly using docker/docker-compose/lets-encrypt, and with HTTPS/HTTP2.0 Support.

Notifications You must be signed in to change notification settings

geekeren/wordpress-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is used to help you to set up a wordpress site quickly, and with HTTPS/HTTP2.0 Support.

File Structure

├── .env
├── docker-compose.yml
├── apache2
│   └── sites-enabled
├── _docker
├── mysql: Mysql Data Folder
└── src: Wordpress root path
    ├── wp-admin
    ├── wp-content
    └── wp-includes

Denpendcies

  • Docker
  • docker-compose
  • Lets Encrypt

Setup

  • Use Lets Encrypt to generate certificate/key for SSL
certbot certonly --email wangbaiyuan@outlook.com --agree-tos --webroot -w /wordpress/src -d wangbaiyuan.cn
  • Start docker-compose Service
docker-compose up

About

Set up a wordpress site quickly using docker/docker-compose/lets-encrypt, and with HTTPS/HTTP2.0 Support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published