Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 6 years ago)
- Default Branch: master
- Last Pushed: 2018-05-03T05:22:28.000Z (over 6 years ago)
- Last Synced: 2024-04-14T05:24:28.876Z (8 months ago)
- Topics: docker, docker-compose, fpm, nginx, wordpress
- Language: Shell
- Size: 11.7 KB
- Stars: 28
- Watchers: 3
- Forks: 14
- 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