Simple docker rails with nginx
Add gem 'puma'
to Gemfile
Don't need config/puma.rb
because it has been already ๐
Build:
docker-compose build
Start:
docker-compose up
Migrate:
docker-compose run --rm app bundle exec rake db:migrate
Rebuild:
docker-compose build && docker-compose stop && docker-compose rm && docker-compose up
View containers:
docker ps