https://github.com/dbtek/docker-compose-wordpress-fpm-nginx
Docker Environment for Wordpress with FPM & Nginx
https://github.com/dbtek/docker-compose-wordpress-fpm-nginx
docker docker-compose fpm nginx wordpress
Last synced: 5 months ago
JSON representation
Docker Environment for Wordpress with FPM & Nginx
- Host: GitHub
- URL: https://github.com/dbtek/docker-compose-wordpress-fpm-nginx
- Owner: dbtek
- Created: 2018-04-03T11:00:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-03T05:22:28.000Z (over 7 years ago)
- Last Synced: 2025-05-12T13:47:44.575Z (7 months ago)
- Topics: docker, docker-compose, fpm, nginx, wordpress
- Language: Shell
- Size: 11.7 KB
- Stars: 35
- Watchers: 2
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Docker Environment for Wordpress with FPM & Nginx
===
Run Wordpress through Nginx & PHP FPM effortlessly.
### Install
- Download zip or clone repo. Place files on the host.
- Update config via `.env` file accordingly. **Don't use it as is!**
- Update certificate domain inside `nginx/wp.conf`.
- Run following.
```bash
# generate SSL certificates with letsencrypt
$ sh ./gencert.sh
# run services
$ docker-compose up -d
```
That's it.
### Renew SSL Certificates
There is no built in service for auto renewal. To renew certs run following:
```bash
$ sh ./renewcert.sh
```
To add auto renewal a cron job can be set up like following.
```
43 6 * * * /path/to/renewcert.sh
```
### Folder Structure
- le/ - Volumes for Letsencrypt certs & files.
- nginx/ - Nginx configuration.
- wp-content/ - Wordpress volume.
### Author
Ismail Demirbilek - [@dbtek](https://twitter.com/dbtek)
### License
MIT