...

/

Connecting to Postgres from a Separate Container

Connecting to Postgres from a Separate Container

We will see how we can connect our database to our Rails app.

Connecting to Postgres

As you become more and more comfortable with using Compose, you will find that you trust it to do what you need. A quick docker-compose ps is probably all you need to verify that a service is running. However, since running services like Postgres inside a container is still fairly new for us, let’s take the extra step of manually connecting ...