Sign inSign up

asux/rails-awseb

By asux

•Updated over 8 years ago

Docker base image: Rails + Puma + AWS EB CLI

Image
1

1.1K

asux/rails-awseb repository overview

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

Docker base image for Rails⁠ runned with Puma⁠ prepared for deploy on AWS Elasticbeanstalk⁠.

⁠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

Size

453.6 MB

Last updated

over 8 years ago

docker pull asux/rails-awseb