wordpress-heroku

by shimoju

GitHub Readme.md

wordpress-heroku

WordPress on Heroku

Deploy

Setup

Requirements

Build Docker image

git clone https://github.com/shimoju/wordpress-heroku.git your-blog-name
cd your-blog-name
docker-compose build && docker-compose run --rm app composer install

Run Docker container

docker-compose up -d

Access http://localhost:8080/

Heroku Deploy

heroku create your-blog-name
heroku addons:create cleardb
heroku addons:create newrelic
heroku addons:create papertrail
heroku config:set `bin/secret-key --format env`
git push heroku master
heroku open

Use Apache

Edit Procfile

web: vendor/bin/heroku-php-apache2 -C config/apache.conf public

License

GNU GPL v2.0

Author

Hiroshi Shimoju