diff --git a/apps/docs/content/docs/core/(examples)/turborepo.mdx b/apps/docs/content/docs/core/(examples)/turborepo.mdx new file mode 100644 index 0000000..4fe9782 --- /dev/null +++ b/apps/docs/content/docs/core/(examples)/turborepo.mdx @@ -0,0 +1,34 @@ +--- +title: Turborepo +description: Deploy a simple Turborepo application. +--- + + +This repository contains an example of turborepo application that is deployed on Dokploy. + + +1. **Use Git Provider in Your Application**: + - Repository: `https://github.com/Dokploy/examples.git` + - Branch: `main` + - Build path: `/turborepo` (Nixpacks) + +2. **Environment Variables**: + - Add environment variables to the env tab. + + ```bash + NIXPACKS_TURBO_APP_NAME="web" + NIXPACKS_BUILD_CMD="turbo run build --filter=web" + NIXPACKS_START_CMD="turbo run start --filter=web" + ``` + +3. **Click on Deploy**: + - Deploy your application by clicking the deploy button. + +3. **Generate a Domain**: + - Click on generate domain button. + - A new domain will be generated for you. + - Set Port `3000` + - You can use this domain to access your application. + + +If you need further assistance, join our [Discord server](https://discord.com/invite/2tBnJ3jDJc).