Skip to content

joaoscotto/docker-ruby-puma-nginx-postgres

Repository files navigation

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