Updated My Single-Container-Wordpress Project to Support Heroku
Last year I wrote the docker image single-container-wordpress to support running multiple wordpress sites in a stateless kintohub container.
It worked, but unfortunate things happened to kintohub. Their free containers are not available anymore.
I updated the project to support free dynos provided by Heroku.
The major updates include:
- Support running the container with non-root accounts. Heroku uses non-root users.
- Support listening to a port defined by the $PORT environment variable.
- Allow using Backblaze B2 as persistence storage. I love Backblaze B2 better than Amazon S3 because I love smaller bills.
To use it, follow the instructions on Dockerhub page. As a reminder, the whole purpose of this project is to allow hosting wordpress in the cheapest possible way. Running many things in a single container violates isolation principle, and is of course less secure.