docker-rails-example
docker-rails-example copied to clipboard
Expose the DB port to the host machine so it's easy to use tools like TablePlus
During development, it's very convenient to connect to the database using tools like TablePlus. I think these tools are very helpful for developers to quickly get feedback on the data they're working with. I guess it's better to go for a non-default postgres port in order to avoid issues if the developer already has postgres running through brew services.