Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.07 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.07 KB

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 <me@lesaker.org>
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.