Sign inSign up

asux/rails

By asux

•Updated over 8 years ago

Docker base image: Rails + Puma

Image
6

100K+

asux/rails repository overview

⁠Docker base image: Rails + Puma + PostgreSQL & MySQL clients

Docker base image for Rails⁠ runned with Puma⁠

⁠Dockerfile

Dockerfile on Github⁠.

⁠Build

Commmit changes and create new tag.

To build base image use:

make build

To tag latest image:

make tag_latest

To push to Docker Hub repo⁠:

make push

Or do this all:

make

⁠Usage

This image made for AWS EB multicontainer environment and assumes:

  • The nginx⁠ links this service as web.
  • The code mounts to /usr/src/app.
  • The startup script bin/start.sh prepares and runs web service or worker service if WORKER=true.

Example files you can find in examples⁠ folder.

Tag summary

Content type

Image

Digest

sha256:02f7ff081…

Size

432.1 MB

Last updated

over 8 years ago

docker pull asux/rails