NetworkArchetype / docker-ruby-puma-nginx-postgres

Rails project with docker, compose, ruby3, rails6, nginx, puma and postgres

Home Page:https://scotto.medium.com/2021-docker-ruby-3-rails-6-puma-nginx-postgres-d84c95f68637

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

image

This is an example of how to set up a project with:

  • Ruby 3
  • Rails 6
  • Postgres
  • Puma
  • Nginx
  • Docker
  • Docker compose

Getting started

To start up the application in your local Docker environment:

1 - Clone the repository

git clone https://github.com/joaoscotto/docker-ruby-puma-nginx-postgres.git
cd docker-ruby-puma-nginx-postgres

2 - Build and start Docker

make build

3 - See the Makefile for more commands:

make docker
make clean
make start
make bash
make logs

About

Rails project with docker, compose, ruby3, rails6, nginx, puma and postgres

https://scotto.medium.com/2021-docker-ruby-3-rails-6-puma-nginx-postgres-d84c95f68637


Languages

Language:Ruby 72.0%Language:HTML 14.1%Language:JavaScript 8.6%Language:Dockerfile 2.1%Language:CSS 1.8%Language:Makefile 0.9%Language:Shell 0.5%