cli for docker compose and rails users, this cli helps with running your rails commands
generate model inside your docker web service container.
Your rails service on the docker compose needs to be named
docker-compose.ymlneeds to be named
$ yarn add drails $ # or $ yarn global add drails
$ drails db:create $ drails drails g model User $ drails db:migrate
then you could start up your docker compose services
$ docker-compose up