Hosted apps
Run your app on CodePinion: how it is built, extra processes, rollbacks, and every tab on the app page.
A hosted app runs a repository's code on CodePinion, at its own address under codepinionapps.co.ke or on your own domain. Create one from the repository's Hosted Apps tab with New hosted app.
How it is built
| Build strategy | Uses |
|---|---|
| Auto-detect | Your Dockerfile if the repository has one, otherwise a buildpack. |
| Dockerfile | The Dockerfile in the repository. |
| Buildpack | Nixpacks: detects your language and builds without a Dockerfile. |
| Prebuilt image | An image you built elsewhere; CodePinion only runs it. |
Click Deploy (or Redeploy) on the app, or deploy from a pipeline with deploy_app: so it only ships after the tests pass; see CI/CD pipelines.
The app page
| Tab | For |
|---|---|
| Overview | State, address and the latest deploy. |
| Metrics | Requests, response codes and resource use. |
| Deployments | Every deploy and its build log. Roll back to an earlier one from here. |
| Logs | The access log and the app's own output. See Logs and errors. |
| Live Console | Errors and warnings picked out of the live logs, each one a click away from a task. |
| Terminal | A shell inside the running app. |
| Processes | Extra processes beside the web process. |
| Variables | Environment variables. See Secrets and variables. |
| Database | Add-ons attached to this app. See Add-ons. |
| Domains | Custom domains. |
| Settings | Build strategy and the app's other settings. |
Workers and schedulers
Add processes under Processes for work that is not a web server:
- a Worker runs continuously, such as a queue consumer;
- a Scheduler runs scheduled jobs, such as Celery beat. It always runs exactly one copy, so a job never fires twice.
Rolling back
Open Deployments and roll back to an earlier successful deploy.
Limits
Your plan includes a number of hosted apps, and more can be added for a monthly fee; see Pricing (requires sign-in).