docs: add example Turborepo application deployment guide

This commit is contained in:
Mauricio Siu 2025-03-17 02:44:15 -06:00
parent 42b3ac606a
commit d565996d1c

View File

@ -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).