Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Simple Nginx + Passenger image, without all the fuss

vicinitycommerce/nginx-passenger Docker image.

Example usage

In your Dockerfile:

FROM vicinitycommerce/nginx-passenger

ADD YOUR_ENVIRONMENT_VARIABLES.conf /etc/nginx/main.d/
ADD YOUR_NGINX_APP_CONFIG /etc/nginx/sites-enabled/

# ...Put your Rails build instructions here...

# Expose HTTP and HTTPS ports
EXPOSE 80 443

CMD 'nginx'

Build the dockerfile, then:

docker run -e RAILS_ENV=production YOUR_IMAGE
Docker Pull Command

Comments (0)