This is a boilerplate for strapi v5 using docker and docker-compose configured with postgres and nginx (including ssl). It uses Amazon S3 as bucket for all assets and can be deployed to AWS EC2 using github actions.
Add .env.development with following vars
#strapi app
NODE_ENV=development
HOST=0.0.0.0
PORT=1337
APP_KEYS=5N9rGNxrbw0I4ATXBA5qsQ==,ENUyEvmqLC14E6p2y2C0Ww==,nN/l7EE+oyJuCWPddACjbQ==,XMy2K9Jb7nw/4wBOVObHKA==
API_TOKEN_SALT=pgZYXSTiPOmQMpZOfC4oEQ==
ADMIN_JWT_SECRET=M8w4QJMbVqzMsv3g+8bMJQ==
JWT_SECRET=ZFDhVVsnoXjkgN7LVfUoXg==
#postgres
DATABASE_CLIENT=postgres
DATABASE_HOST=localhost
DATABASE_PORT=5432
DATABASE_USERNAME=strapi_db_user
DATABASE_PASSWORD=strapi_db_pw
DATABASE_NAME=db_strapi_dev
DATABASE_SCHEMA=public
DATABASE_SSL=false
Start postgress docker fo local development
yarn dev:docker
Start your Strapi application with autoReload enabled. Learn more
yarn start:dev
Remove node_modules and yarn.lock
yarn nuke
- Resource center - Strapi resource center.
- Strapi documentation - Official Strapi documentation.
- Strapi tutorials - List of tutorials made by the core team and the community.
- Strapi blog - Official Strapi blog containing articles made by the Strapi team and the community.
- Changelog - Find out about the Strapi product updates, new features and general improvements.
- Strapi-PNPM-Docker-ts