- run
docker-compose build app
to build app - run
docker-compose run --rm app rake db:create db:migrate
to prepare database - run
docker-compose run --rm test rake db:create db:migrate
to prepare test database - run
docker-compose up -d app
to start
API documentation: http://127.0.0.1:3000/swagger/