heroku-docker-nginx-example icon indicating copy to clipboard operation
heroku-docker-nginx-example copied to clipboard

Barebones nginx installation on Heroku using Docker.

trafficstars

heroku-docker-nginx-example

Barebones example of deploying the official nginx Docker image to Heroku. Serves an example html file at the root directory.

Try it now!

Fire up an nginx proxy on Heroku with a single click:

Deploy to Heroku

Manual deployment

You will need to create a Heroku account and install the Heroku CLI, eg. brew install heroku.

git clone [email protected]:rjoonas/heroku-docker-nginx-example.git
cd heroku-docker-nginx-example
heroku container:login
heroku create
heroku container:push web
heroku container:release web
heroku open