GithubHelp home page GithubHelp logo

isabella232 / nginx-heroku-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from developmentseed/nginx-heroku-docker

0.0 0.0 0.0 2.5 MB

An NGINX binary builder for Heroku docker

Shell 79.55% HTML 20.45%

nginx-heroku-docker's Introduction

NGINX Binary for Docker in Heroku

This docker app compiles a NGINX binary ready for use and deployment as a Docker app on Heroku. The binary is compiled against Heroku's Cedar-14 stack.

If you want to run NGINX proxy on Heroku's managed environment, this is app is what you need.

In order to use this app, you must have Heroku plugin for docker and docker installed on your computer. You can follow this guide to have the requirements installed.

Recompile nginx binary for Cedar-14

Make sure you have docker and docker-composed installed. Run this command:

$ docker-compose build web
$ docker-compose up web

After the command is executed, nginx's binary is copied to heroku/bin folder.

Use and Deployment of NGINX

After executing the previous step, simply copy the heroku folder to a new location and use it for launching and deploying a heroku app.

To deploy a new heroku app using the content of heroku folder:

$ heroku create
$ heroku docker:release
$ heroku logs -t

NGINX Config

Edit content of heroku/config/nginx.conf.erb.

Credit

nginx-heroku-docker's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.