Our great sponsors
-
dip
The dip is a CLI dev–tool that provides native-like interaction with a Dockerized application.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
And then also add dip to get rid of these lengthy docker compose run prefixes from the every command typed in your console.
I would do a lot of things differently nowadays and currently maintain https://github.com/nickjj/docker-rails-example which includes the latest way of how I run Rails in Docker. There's also https://nickjanetakis.com/blog/best-practices-around-production-ready-web-apps-with-docker-compose which goes over most of those patterns from a talk at DockerCon.