Skip to content

hadrienblanc/rails-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rails-docker-compose

Dockerfile

The dockerfile for the rails image. It's a standard ruby 2.5 docker image.

docker-compose.yml

web

The rails application image

db

The MySQL database image

worker

The rails (sidekiq) workers

redis

Redis is used in Actioncable, in sidekiq workers or for the rails cache.

Makefile

The Makefile is used mainly as a knowledge keeper for the project, and secondly to install the stack.

Note

You should create a new rails application if you start from this repo. The current Makefile COPY the created Gemfile. So it's not currently suited to create the rails app in the docker image.

make rails_new
make up

.dockerignore

The .dockerignore file lets you ignore certain folders or files from being included inside the docker container.

About

docker compose configuration to have a Rails local dev environnement

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors