We'll show you how to set up Docker Compose with Rails. We'll take a very practical approach by starting from scratch. We'll build a simple Rails app, get it working locally, and then get it working with docker compose. We'll configure things so the app can run both locally and with docker.
Docker Compose Commands
docker-compose build docker-compose up docker-compose exec web
docker-compose start docker-compose stop
docker build -t boltops/docker-compose-rails . docker run boltops/docker-compose-rails docker push boltops/docker-compose-rails
Explore lesson as part of a learning path
Get full access to these great resources
All for less than the price of coffee a day