DEV Community

Discussion on: Dockerize a Rails 5, Postgres, Redis, Sidekiq and Action Cable Application with Docker Compose

Collapse
 
nickjj profile image
Nick Janetakis

Hi,

In that case I would ditch the scripts and just set up a few aliases at the Bash level. This way you can shorten up the command to almost what it would be without Docker, and you don't need to lug around scripts to each project.

I have some made to where I just type dew rails c and it opens a console by running docker-compose exec web rails c under the hood.

Collapse
 
abhinavmsra profile image
Abhinav Mishra

I agree but that still does not help much when you have some inexperienced developers in team.

Thread Thread
 
nickjj profile image
Nick Janetakis

Then make them experienced. :D