Yes, you can. It's not a great experience because Wordpress is not 12-factor (ie, does not follow 12factor.net). I would look hard at wordpress.com for Wordpress hosting. However there are other good options for blogs on Heroku - for example Jekyll (as I outline here: dev.to/tsykoduk/nginx-as-a-static-...) is the option that personally use.
I think you can. See help.heroku.com/58GWW5CQ/can-i-use... (As a thought, similar to Dockers, database in container is a problem, as Heroku filesystem is ephemeral.)
Databases normally should not run in the same instance/container as your code. Decoupling your backend servers from your front end code allows for much easier scaling, more maintainability and easier development environments. See 12factor.net ;D
Can I run a Wordpress site on heroku?
Yes, you can. It's not a great experience because Wordpress is not 12-factor (ie, does not follow 12factor.net). I would look hard at wordpress.com for Wordpress hosting. However there are other good options for blogs on Heroku - for example Jekyll (as I outline here: dev.to/tsykoduk/nginx-as-a-static-...) is the option that personally use.
I think you can. See help.heroku.com/58GWW5CQ/can-i-use... (As a thought, similar to Dockers, database in container is a problem, as Heroku filesystem is ephemeral.)
Why not wordpress.com/ ?
Databases normally should not run in the same instance/container as your code. Decoupling your backend servers from your front end code allows for much easier scaling, more maintainability and easier development environments. See 12factor.net ;D
Many free self-hosted Docker-based commenting systems does not follow 12-factor, and I am forced to use Disqus...