> ## Documentation Index
> Fetch the complete documentation index at: https://docs.compyle.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Deployments

> Deploy your projects

## Overview

Compyle makes it easy to take your project from the editor to a live production environment.
A dedicated **Deployment Agent** handles the heavy lifting, ensuring your application is optimized and secure.

<Callout icon="crown" color="#d1b2e0" iconType="duotone">
  <strong>Exclusive Feature</strong><br />
  Deployments are currently available for paying users. 🚀
</Callout>

***

## How to deploy

Click the **Deploy** button in any task. A Deployment Agent will help package your app, audit your Dockerfile (or create one), and confirm details like your URL slug.

**Your live URL:** `https://<your-slug>.run.compyle.ai`

<Frame caption="How to Deploy">
  <iframe src="https://www.youtube.com/embed/YLdBbcytInE?si=Nl-X1ejjU5kIvYnX" title="YouTube video player" className="w-full aspect-video rounded-xl" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>

***

## Supported projects

Currently, deployments are optimized for **single Dockerfile** setups.

* **Fullstack Apps**: Next.js, Django, Nuxt, etc.
* **Background Services**: Discord bots, CRON workers, or specialized APIs.

<Callout icon="circle-info" color="#3B82F6" iconType="duotone">
  <strong>Best for Monorepos</strong><br />
  This setup is ideal for repositories where the entire application (frontend + backend) lives in a single environment.
</Callout>

***

## Changing Deployment Name

You can change your deployment name in **Project Settings** under the **Deployment Section**. Compyle will redeploy your website with the new name.

<Frame caption="How to Change Deployment Name">
  <iframe src="https://www.youtube.com/embed/vLMnkzKYwlU?si=3EigzLjamsyvzkVC" title="YouTube video player" className="w-full aspect-video rounded-xl" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen />
</Frame>

***

## FAQ

<AccordionGroup>
  <Accordion title="What happens if I don't have a Dockerfile?">
    No problem! The Deployment Agent will analyze your project and generate a production-ready Dockerfile for you.
  </Accordion>

  <Accordion title="Can I change my URL slug?">
    Yes, you can confirm and customize your slug with the agent during the deployment process.
  </Accordion>

  <Accordion title="What port should my app use?">
    Agent Can auto detect port from your dockerfile
  </Accordion>
</AccordionGroup>
