TECHNICAL REFERENCE
Deploy your first application
From a Git repository to a running API or website.
Last reviewed: Markdown
Prepare the repository
Connect GitHub or GitLab, or use a public HTTPS repository. Gitea is visible only in Enelsa mode or for an account explicitly granted connector access.
Choose the branch, Dockerfile or automatic build method, and listening port. Bind the HTTP server to 0.0.0.0; a process listening only on localhost cannot be reached by the application proxy.
Create it in the panel
- Select an active service and check its available application slots.
- Choose the repository and branch. Automatic deployment follows pushes to that connected branch.
- Configure the build method, port and required environment variables.
- Start deployment, inspect build logs, then verify runtime status.
Python API example
Set the application port to 8000 for this example. Change the module path to match your project.
FROM python:3.13-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]Verify the live revision
Runtime state and commit freshness are separate. Compare the live SHA with the head of the connected branch. A failed or cancelled build does not make the previous running version a deployment of the new commit.