{"id":25278243,"url":"https://github.com/buraste/strapi-nextjs-docker-boilerplate","last_synced_at":"2025-10-27T15:30:24.092Z","repository":{"id":48696187,"uuid":"516777527","full_name":"buraste/strapi-nextjs-docker-boilerplate","owner":"buraste","description":"🎨 Boilerplate for building Dockerized 🐳 applications using Strapi v4 + Next.js + Postgres +Nginx","archived":false,"fork":false,"pushed_at":"2023-01-07T20:37:42.000Z","size":261,"stargazers_count":23,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-10T01:35:58.636Z","etag":null,"topics":["docker","nextjs","nginx","postgresql","strapi","strapi-cms"],"latest_commit_sha":null,"homepage":"https://github.com/burakibis/strapi-nextjs-docker-boilerplate","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buraste.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-22T14:19:08.000Z","updated_at":"2023-03-10T01:35:58.637Z","dependencies_parsed_at":"2023-02-08T01:15:49.972Z","dependency_job_id":null,"html_url":"https://github.com/buraste/strapi-nextjs-docker-boilerplate","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraste%2Fstrapi-nextjs-docker-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraste%2Fstrapi-nextjs-docker-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraste%2Fstrapi-nextjs-docker-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraste%2Fstrapi-nextjs-docker-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buraste","download_url":"https://codeload.github.com/buraste/strapi-nextjs-docker-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238514908,"owners_count":19485111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","nextjs","nginx","postgresql","strapi","strapi-cms"],"created_at":"2025-02-12T17:23:18.035Z","updated_at":"2025-10-27T15:30:23.646Z","avatar_url":"https://github.com/buraste.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cdiv align=\"center\"\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/44535256/180598361-505e938a-dff5-4845-9fb7-6f0a7b8d0682.png\" alt=\"Logo\"/\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://twitter.com/helloburaste\"\u003e\n    \u003cimg alt=\"Twitter: Hello Buraste\" src=\"https://img.shields.io/twitter/follow/helloburaste?style=social\" target=\"_blank\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cp style=\"margin-top: 0;\"\u003eDockerize your Strapi v4 backend with Next.js and Nginx Support 🚀\u003c/p\u003e\n\t\u003c/div\u003e\n\n## Table of Contents \u003c!-- omit in toc --\u003e\n\n- [Current Status](#current-status)\n- [What for?](#what-for)\n- [Features \u0026 Stacks](#features--stacks)\n    - [Backend](#backend)\n    - [Frontend](#frontend)\n    - [Database](#database)\n    - [Reverse Proxy](#reverse-proxy)\n    - [Containerization](#containerization)\n    - [Environment Variables Management](#environment-variables-management)\n- [Installation and Usage](#installation-and-usage)\n    - [Installation](#installation)\n    - [Usage](#usage)\n- [Security for Endpoints](#security-for-endpoints)\n- [Contributing](#contributing)\n- [Authors](#authors)\n- [License](#license)\n\n## Current Status\n\nThis package is currently under development and should be consider **BETA** in terms of state. We are currently accepting contributions to help develop and maintain this package.\n\nFor more information on contributing please see [the contrib message below](#contributing).\n\n##  What for?\n\n- Easy development \u0026 production environment\n- Easy frontend adoption (just delete frontend folder and create your best)\n- Creating full-stack applications for small or medium size projects\n\n## Features \u0026 Stacks\n\n#### Backend\n- Strapi v4\n- Node.js v16 for Docker Image\n- Yarn package manager\n#### Frontend\n- Next.js v12.2\n- React.js v18.2\n- Typescript v4.7\n- Node.js-alpine for Docker Image\n- Yarn package manager\n#### Database\n- Postgres v12-alpine\n- Linux/amd64 platform for platform error on Apple M1 chips\n- Named volumes\n#### Reverse Proxy\n- Nginx Latest\n- Fastcgi support\n- Mime-types\n- Security configs\n#### Containerization\n- Docker-compose v3 for container orchestration 🐳\n- Seperated Dockerfiles for development and production\n#### Environment Variables Management\n- One file for backend + frontend + database + nginx\n\n\n## Installation and Usage\nYou have to currently exist Docker and Docker Compose on your system:\n- [Docker \u0026 Docker Compose](https://docs.docker.com/get-docker/)\n\n#### Installation\n- Clone the repo\n- Copy `.env.example` file to `.env`\n- Change credentials with secure and strong ones\n- If you are on development, be sure `ENVIRONMENT=development` on .env file\n- If you are on production or want to production build, change with `ENVIRONMENT=production`\n- Be sure `localhost:80` is accesible and not using from another process (Nginx runs on 80)\n- Pull necessary images:\n```bash\ndocker-compose pull\n```\n#### Usage\n- Build and up your docker-compose file if everything is ok:\n```bash\ndocker-compose build \u0026\u0026 docker-compose up -d\n```\n- Now you can access to Next.js frontend on `http://localhost` and Strapi backend (admin) on `http://localhost/strapi/admin`\n- Register with your e-mail and password.\n- Go to `Content-Type Builder`, It has sample content type as `Article` and this content type has three field as `title` `body` and `cover`.\n- For creating new `Article`, go to `Content Manager`and click `Article`on left pane, click `Create new entry`and fill the blanks \u003e click Publish!\n- For testing API endpoint you need to give public access to the `Article` so\n\t- Go to `Settings`\u003e`User \u0026 Permissions Plugin`\u003e`Roles`\u003e`Public`\u003e`Article`and select `find` `findOne`, If you need more, select what you want and save!\n\t- Go to the `http://localhost/strapi/api/articles`\n\n## Security for Endpoints\nSecure all your Strapi related endpoints in Nginx, make sure to use API tokens to connect to the backend and keep this information private. The Nginx config that on the repo is for development, not production ⛔️\n\n## Contributing\n\nWe are always welcome for contributions to help shape this package.\n\nIf interested please feel free to email the maintainer Burak at: hello@buraste.com\n\n## Authors\n\n- Burak Ibis:\n\t- Github: [@buraste](https://github.com/buraste)\n\t- Twitter: [@helloburaste](https://twitter.com/helloburaste)\n\n## License\n\nSee the [LICENSE](./LICENSE.md) file for licensing information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburaste%2Fstrapi-nextjs-docker-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburaste%2Fstrapi-nextjs-docker-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburaste%2Fstrapi-nextjs-docker-boilerplate/lists"}