Rails Docker Template

screenshot of Rails Docker Template

A Rails bootstraping template including Docker

Overview:

The Rails Docker Template is a tool designed to generate a clean, new Rails (API) project with Docker, docker-compose, rspec, and some default settings. It is a very opinionated template, requiring Rails version 5.0.0 or higher and Ruby version 2.5.0.

Features:

  • Opinionated: This template has a specific set of opinions on how a Rails project should be set up.
  • Docker Integration: The template utilizes Docker and docker-compose for containerization.
  • RSpec Testing: Testing is done using the RSpec testing framework.
  • Clean Code: The template includes various gems and tools to ensure clean and readable code.
  • Security Measures: Security analysis tools like brakeman and bundler-audit are included.
  • Code Annotations: The template includes the annotate gem, which provides schema comments for models, routes, and factories.

Summary:

The Rails Docker Template is a powerful tool for quickly setting up a new Rails (API) project with Docker and docker-compose. It includes various default settings and gems to facilitate development, testing, and deployment processes. The template is opinionated and requires specific versions of Rails and Ruby. It provides a convenient way to generate a clean and containerized Rails project.