31 lines
		
	
	
		
			895 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			895 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Turborepo Example
 | |
| 
 | |
| 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).
 |