Dockerizing a Rails 6 Application with Postgresql WITHOUT Docker Compose
Dockerizing a Rails 6 Application with Postgresql WITHOUT Docker Compose
Dockerizing a Rails 6 Application with Postgresql WITHOUT Docker Compose

Introduction

In the last story, I show how can you create your own rails 6 Image on Docker.

Other thing that cause so much doubts in me while I was trying to use Rails with Docker was the integration between a Rails 6 Application and Postgresql database. I spent a lot of time researching a way to do this WITHOUT DOCKER COMPOSE.

But you can ask me: “Why without docker compose?”

The answer is simple. I like to study understanding what I’m doing. …


Image for post
Image for post
How to Create a Rails 6 Image in Docker

Introduction

In this post I will show you what I did to create a Rails 6 Image based on Ubuntu container. Just for information, I am doing this tutorial in Ubuntu 18.04. If you are using other operacional system, it’s important to know the differences on docker usage.

This is a simple tutorial, but I will start from this part, because I intend to show in next post how can you integrate a Rails 6 container with Postgres container WITHOUT use docker compose (there is a lot of tutorials about this USING DOCKER COMPOSE! …

Arthur Nakao

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store