Rails version: 5.2.3
Ruby version: 2.5.5 (x86_64-linux)
Install Docker: https://docs.docker.com/compose/install/
Build images and run application:
docker-compose up -d
Wait for a few seconds until the server starts.
Create database:
docker-compose run web rake db:create
Open http://localhost:3000 in your browser.
Example migration, create users table:
docker-compose run web bin/rails generate migration CreateUsers
docker-compose run web rake db:migrate
admin
Quick Links -> Add New Server
host: db
port: 5432
database: app_development
username: postgres
password: