{"id":21897719,"url":"https://github.com/webmaxru/nextjs-azure-container-apps-starter","last_synced_at":"2025-10-04T06:27:29.779Z","repository":{"id":40657439,"uuid":"487641073","full_name":"webmaxru/nextjs-azure-container-apps-starter","owner":"webmaxru","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-03T00:42:56.000Z","size":83,"stargazers_count":21,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T17:59:30.433Z","etag":null,"topics":["azure","azure-container-apps","nextjs"],"latest_commit_sha":null,"homepage":"https://aka.ms/learn-aca","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/webmaxru.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-05-01T20:56:16.000Z","updated_at":"2025-03-01T02:20:00.000Z","dependencies_parsed_at":"2022-08-27T00:54:30.049Z","dependency_job_id":null,"html_url":"https://github.com/webmaxru/nextjs-azure-container-apps-starter","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/webmaxru%2Fnextjs-azure-container-apps-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fnextjs-azure-container-apps-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fnextjs-azure-container-apps-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webmaxru%2Fnextjs-azure-container-apps-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webmaxru","download_url":"https://codeload.github.com/webmaxru/nextjs-azure-container-apps-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249125963,"owners_count":21216705,"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":["azure","azure-container-apps","nextjs"],"created_at":"2024-11-28T14:18:39.305Z","updated_at":"2025-10-04T06:27:29.683Z","avatar_url":"https://github.com/webmaxru.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Next.js on Azure Container Apps starter\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"public/nextjs-aca.png\" width=\"300\"\u003e\n\u003c/p\u003e\n\n[Azure Container Apps](https://azure.microsoft.com/en-us/services/container-apps/) is a fully managed serverless container service for building and deploying modern apps at scale.\n\nIt's a perfect choice for hosting fullstack web applications with server-side rendered components like [Next.js](https://nextjs.org/) or [Remix](https://remix.run/).\n\nThis project is a minimalistic (but including Next.js essentials like Layout, Style Components, SG, SSR, SWR) example of a Next.js app running on Azure Container Apps.\n\nIt uses [Dockerfile](https://github.com/webmaxru/nextjs-azure-container-apps-starter/blob/main/Dockerfile) with multi-stage builds and automatically copied traced files via [outputStandalone](https://github.com/webmaxru/nextjs-azure-container-apps-starter/blob/main/next.config.js#L3) feature of Next.js to keep image size as small as possible.\n\n## How to scaffold an Azure Container App\n\n0. [Claim your free Azure credits](https://aka.ms/free-azure-pass) if needed\n\n1. [Install Azure CLI](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)\n\n2. Install `containerapp` extension of the Azure CLI\n\n```bash\naz extension add --name containerapp --upgrade\n```\n\n3. Clone and deploy this starter as an Azure Container App with the name of your choice (`nextjs-aca` in the example below):\n\n```bash\naz containerapp up --name nextjs-aca --source .\n```\n\n## How to deploy a new version\n\nUse the same command to deploy a new version of your app:\n\n```bash\naz containerapp up --name nextjs-aca --source .\n```\n\n## About\n\n### Credits\n\n- Dockerfile is based on [with-docker example](https://github.com/vercel/next.js/tree/canary/examples/with-docker)\n- API call is based on [api-routes example](https://github.com/vercel/next.js/tree/canary/examples/api-routes)\n\n### Author\n\n[Maxim Salnikov](https://twitter.com/webmaxru). Feel free to contact me if you have any questions about the project, Azure, Azure Container Apps, Azure Static Web Apps.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmaxru%2Fnextjs-azure-container-apps-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebmaxru%2Fnextjs-azure-container-apps-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebmaxru%2Fnextjs-azure-container-apps-starter/lists"}