{"id":19456866,"url":"https://github.com/porter-dev/strapi","last_synced_at":"2025-08-23T10:10:47.264Z","repository":{"id":104824384,"uuid":"373883101","full_name":"porter-dev/strapi","owner":"porter-dev","description":"Quickstart repo to deploy Strapi on Kubernetes with Porter","archived":false,"fork":false,"pushed_at":"2021-06-16T15:53:36.000Z","size":704,"stargazers_count":1,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T17:54:52.361Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/porter-dev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-04T15:22:16.000Z","updated_at":"2022-02-14T14:49:59.000Z","dependencies_parsed_at":"2023-05-30T08:00:30.643Z","dependency_job_id":null,"html_url":"https://github.com/porter-dev/strapi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fstrapi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fstrapi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fstrapi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/porter-dev%2Fstrapi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/porter-dev","download_url":"https://codeload.github.com/porter-dev/strapi/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250760698,"owners_count":21482851,"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":[],"created_at":"2024-11-10T17:18:47.375Z","updated_at":"2025-04-25T05:31:07.558Z","avatar_url":"https://github.com/porter-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy Strapi with Porter\nThis is a quickstart repository you can fork to deploy Strapi to Kubernetes on AWS/GCP/DO with Porter. This sample repository uses PostgresDB by default. Modify the files in `/app/config/env/production` to customize your database settings.\n\n# Quick Deploy\n## Deploying Strapi\n1. Create an account on [Porter](https://dashboard.getporter.dev).\n2. [One-click provision a Kubernetes cluster](https://docs.getporter.dev/docs/getting-started-with-porter-on-aws) in a cloud provider of your choice, or [connect an existing cluster.](https://docs.getporter.dev/docs/cli-documentation#connecting-to-an-existing-cluster)\n3. Fork this repository.\n4. From the [Launch tab](https://dashboard.getporter.dev/launch), navigate to **Web Service \u003e Deploy from Git Repository**. Then select the forked repository and `Dockerfile` in the root directory.\n5. Configure the port to `1337`, add environment variable `NODE_ENV=production`, and set resources to the [recommended settings](https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/deployment.html#general-guidelines) (i.e. 2048Mi RAM, 1000 CPU).\n6. Hit Deploy!\n\n## Deploying PostgresDB\n1. Strapi instance deployed through Porter connects to PostgresDB. You can connect Strapi instance deployed on Porter to any external database, but it is also possible to use a database that is also deployed on Porter. Follow [this guide to deploy a PostgresDB instance to your cluster in one click](https://docs.getporter.dev/docs/postgresdb).\n2. After the database has been deployed, navigate to the **Environment Variables** tab of your deployed Strapi instance. Configure the following environment variables:\n```\nNODE_ENV=production\nDATABASE_HOST=\nDATABASE_PORT=5432\nDATABASE_NAME=\nDATABASE_USERNAME=\nDATABASE_PASSWORD=\n```\nFor details on how to connect to the deployed database, [see this guide](https://docs.getporter.dev/docs/postgresdb#connecting-to-the-database).\n\n# Development\nTo develop, clone this repository to your local environment and run `npm install \u0026\u0026 npm run develop;` from the `app` directory. Porter will automatically handle CI/CD and propagate your changes to production on every push to the repository.\n\n# Questions?\nJoin the [Porter Discord community](https://discord.gg/FaaFjb6DXA) if you have any questions or need help.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Fstrapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fporter-dev%2Fstrapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fporter-dev%2Fstrapi/lists"}