---
title: "Pethost Docs: deploy, connect and run your apps"
description: "Guides to deploy a Docker Compose app on Pethost, give it a domain and send email from it, and the references of the API and the CLI."
---

# Pethost Docs

How to put an app online on Pethost, give it a domain and send email from it: one task per guide, each from the first step to the last, in the panel, with the `pethost` command and with your AI agent.

## Three ways to deploy

### Ask your agent

Tell Claude Code, Codex, Cursor or ChatGPT: “Install the Pethost plugin from github.com/pethost-dev/plugin for yourself.” Then: “Deploy this and send me the link.”

[The plugin](https://github.com/pethost-dev/plugin)

### Run one command

```
curl -fsSL https://pethost.dev/install.sh | sh
cd my-app
pethost deploy
```

[The CLI reference](https://pethost.dev/docs/cli/)

### Click in the panel

New project takes a GitHub repository, an archive of your files, a compose.yaml written there, or a template.

[Open the panel](https://console.pethost.dev/)

## Guides

- Deploy [Deploy a Docker Compose app](https://pethost.dev/docs/deploy-docker-compose/) Deploy a Docker Compose app as written: put your compose.yaml online with one command, the panel or your AI agent, with HTTPS, volumes and rollbacks.
- Domains [Add a custom domain to your app](https://pethost.dev/docs/custom-domain/) Point a domain you own at your app with one CNAME record, or an ALIAS at the root, or use a name under your Pethost domain. HTTPS comes by itself.
- Email [Send email from your app with Resend, SendGrid or Amazon SES](https://pethost.dev/docs/send-email/) Send email from your app or Docker container on Pethost with Resend, SendGrid or Amazon SES: SMTP on port 2587 or 2525, or the provider's HTTPS API.

## Deploy a framework

One framework each, with the Dockerfile `pethost deploy` writes for it, in the blog.

- [Eleventy](https://pethost.dev/blog/deploy-eleventy-site/)
- [Gin](https://pethost.dev/blog/deploy-gin-app/)
- [Go Fiber](https://pethost.dev/blog/deploy-fiber-app/)
- [Jekyll](https://pethost.dev/blog/deploy-jekyll-site/)
- [Nuxt](https://pethost.dev/blog/deploy-nuxt-app/)
- [PHP](https://pethost.dev/blog/deploy-php-app/)
- [React Router](https://pethost.dev/blog/deploy-react-router-app/)
- [Streamlit](https://pethost.dev/blog/deploy-streamlit-app/)
- [TanStack Start](https://pethost.dev/blog/deploy-tanstack-start-app/)
- [VitePress](https://pethost.dev/blog/deploy-vitepress-site/)

## Reference

- [API reference](https://pethost.dev/docs/api/) Every method of the API, which the MCP server and the SDKs call, with its fields and what it refuses.
- [CLI reference](https://pethost.dev/docs/cli/) Install pethost with one line, and every command with its flags and examples.
- [Plugin for agents](https://github.com/pethost-dev/plugin) The skill and the MCP server Claude Code, Codex, Cursor and ChatGPT install.
- [Templates](https://pethost.dev/templates/) Apps that start in one click, with the compose.yaml they run and what they ask.

## Run your apps on Pethost

Deploy apps, bots and databases from your agent, GitHub or the browser, as many as fit, at one flat price. Nothing metered, nothing billed on top.

[Host all your projects for €9.99/mo](https://console.pethost.dev/)

Pethost · Stephan Gomer · NIP 1133096755

Pethost

- [Templates](https://pethost.dev/templates/)
- [About](https://pethost.dev/about/)
- [Docs](https://pethost.dev/docs/)
- [Blog](https://pethost.dev/blog/)
- [API](https://pethost.dev/docs/api/)
- [CLI](https://pethost.dev/docs/cli/)
- [Plugin](https://github.com/pethost-dev/plugin)
- [Terms](https://pethost.dev/terms/)
- [Privacy](https://pethost.dev/privacy/)
- [Refunds](https://pethost.dev/refunds/)
- [support@pethost.dev](mailto:support@pethost.dev)

Databases

- [Postgres](https://pethost.dev/postgres/)

Comparisons

- [Coolify vs Dokploy vs CapRover vs Dokku](https://pethost.dev/blog/coolify-vs-dokploy-vs-caprover-vs-dokku/)
- [Coolify Cloud vs Dokploy Cloud](https://pethost.dev/blog/coolify-cloud-vs-dokploy-cloud/)
- [Railway vs Render vs Fly.io pricing](https://pethost.dev/blog/railway-vs-render-vs-fly-io-pricing/)
- [Managed Docker Compose hosting](https://pethost.dev/blog/managed-docker-compose-hosting/)

Alternatives

- [Railway alternatives](https://pethost.dev/blog/railway-alternatives/)
- [Heroku alternatives](https://pethost.dev/blog/heroku-alternatives/)
- [Dokploy alternatives](https://pethost.dev/blog/dokploy-alternatives/)
- [Coolify alternatives](https://pethost.dev/blog/coolify-alternatives/)
- [Render alternatives](https://pethost.dev/blog/render-alternatives/)
- [Sliplane alternatives](https://pethost.dev/blog/sliplane-alternatives/)
