Skip to content

Web application with nginx proxying requests to a backend app

License

Notifications You must be signed in to change notification settings

dock0-archived/webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecation Notice: I'm no longer using this repo.

dock0/webapp

Automated Build Build Status MIT Licensed

Container based on dock0/foreman that adds nginx as a reverse proxy to a webapp

Usage

This is designed to be used as a building block for webapps. Create a Dockerfile like the following:

FROM dock0/webapp
MAINTAINER akerl <[email protected]>
RUN pacman -S --noconfirm --needed base-devel
ADD source /srv/app
RUN bundle install --gemfile /srv/app/Gemfile

Your app should listen on localhost:8080 for HTTP connections proxied from nginx.

If you want to accept HTTPS connections, provide /opt/ssl/cert and /opt/ssl/key via a volume.

License

This repo is released under the MIT License. See the bundled LICENSE file for details.

About

Web application with nginx proxying requests to a backend app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published