Sign inSign up

sugi/rails-base

By sugi

Updated about 9 years ago

Base image for rails applications. (/app with user 'rails' and group 'rails')

Image
0

1.7K

sugi/rails-base repository overview

sugi's rails base image

Base image for isolate rails application into docker.

Deploy

Please refer capistrano-deploy_into_docker to deploy with capistrano.

You need to deploy application to /app (and linked /app/current) by capistrano style with user rails:rails on default. Application uid/gid can be changed on runtime.

Environment variables

Following variables can be changed on runtime.

  • APP_UID (default: 3000)
  • APP_GID (default: 3000)
  • APP_HOME_DIR (default: /app)
  • APP_CURRENT_DIR (default: /app/current)
  • APP_SERVER_CMD (default: exec bin/rails server -b0)

Tag summary

Content type

Image

Digest

Size

271.3 MB

Last updated

about 9 years ago

docker pull sugi/rails-base