Making your first deploy
Go from a fresh install to a live service.
After you set up your account, the dashboard walks you through these steps. Here's what each one does.
1. Your server and builder
A cluster is the server, or group of servers, that runs your services. On a fresh install, the server Pyo runs on is already your first cluster. It has a builder for Git deploys. You can add more servers later in Servers.
2. Choose what to run
Pick one of these sources:
- Git repository: Pyo builds it with your DockerfileA file in your repository with the steps to build your code into a container image. or Containerfile, or with zero configuration. That includes static sites.
- Container image: any image from a public registryA server that stores container images, like Docker Hub or GitHub Container Registry., or a private one you've saved a login for.
- Template: a ready-to-run database, tool or service from Templates.
- Compose file: a project with a service for each Compose service. See Importing Docker Compose.
3. Deploy
Pyo builds the image if needed, starts the service and follows the rolloutThe switch from the old version to the new one, which Pyo watches until the new version is running.. You can watch the logs live.
If the deploy fails, Pyo puts the previous version back automatically.
4. Put it on the web
Add a domain to the service. A free domain works right away with no DNSThe system that points a domain name at a server's address. For your own domain, you add a record at your domain provider. setup. You can add your own domain at any time. See Adding a domain.
Next
- Deploy from your terminal with the
pyoCLI. - Deploy on every push from GitHub.