mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
docs: add example Turborepo application deployment guide
This commit is contained in:
parent
42b3ac606a
commit
d565996d1c
34
apps/docs/content/docs/core/(examples)/turborepo.mdx
Normal file
34
apps/docs/content/docs/core/(examples)/turborepo.mdx
Normal 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).
|
Loading…
Reference in New Issue
Block a user