Strapi Nextjs Docker Boilerplate

screenshot of Strapi Nextjs Docker Boilerplate
nextjs
strapi

Boilerplate for building Dockerized applications using Strapi v4 + Next.js + Postgres +Nginx

Overview

This package is currently under development and is considered in the beta state. It aims to provide an easy development and production environment, as well as easy adoption of frontend technologies. It is designed for creating full-stack applications for small or medium-sized projects.

Features

  • Backend: Utilizes Strapi v4, Node.js v16 for Docker Image, and Yarn package manager.
  • Frontend: Built with Next.js v12.2, React.js v18.2, Typescript v4.7, Node.js-alpine for Docker Image, and Yarn package manager.
  • Database: Incorporates Postgres v12-alpine, Linux/amd64 platform for platform error on Apple M1 chips, and named volumes.
  • Reverse Proxy: Uses Nginx Latest with fastcgi support and mime-types security configs.
  • Containerization: Implements Docker-compose v3 for container orchestration. Consists of separated Dockerfiles for development and production.
  • Environment Variables Management: One file for backend, frontend, database, and Nginx.
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

strapi
Strapi

Strapi is an open source headless CMS that provides a customizable content management system and API for your projects. It allows you to manage content in a visual interface and use a REST or GraphQL API to retrieve the data.

docker
Docker

A website that uses Docker for containerization to streamline development, testing, and deployment workflows. This includes features such as containerization of dependencies, automated builds and deployments, and container orchestration to ensure scalability and availability.