A proxy server using Nginx and Docker.
- Replace a listening port with ENV variable
$PORT
. - Add
heroku.yml
file in root directory and paste the following code.
build:
docker:
web: Dockerfile
Create networks with other containers and build the image.
- Change the listening port to 8080
- Configure a flex
app.yml
and deploy.