Sign inSign up

vicinitycommerce/nginx-passenger

By vicinitycommerce

•Updated almost 11 years ago

Image
0

362

vicinitycommerce/nginx-passenger repository overview

⁠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

Tag summary

Content type

Image

Digest

sha256:9fd21c137…

Size

187.1 MB

Last updated

almost 11 years ago

docker pull vicinitycommerce/nginx-passenger