Deployment
Piora offers multiple flexible deployment methods. Whether your project uses Git version control, pre-built Docker images, or multi-service Docker Compose architectures, you can easily deploy to your VPS.
Deployment Methods Overview
Section titled “Deployment Methods Overview”| Method | Use Case | Auto Build |
|---|---|---|
| Git Deploy | Source code in GitHub/GitLab, need automated CI/CD | Yes (Nixpacks / Buildpacks) |
| Docker Deploy | Pre-built Docker images or custom Dockerfiles | Optional |
| Compose Deploy | Multi-container apps with inter-service dependencies | No |
Build Tools
Section titled “Build Tools”Piora includes multiple build tools that can automatically detect your language and framework:
- Nixpacks — Default build tool, supports most languages and frameworks, fast builds
- Buildpacks — Cloud Native Buildpacks, broad compatibility
- Railpack — Optimized for Ruby on Rails and similar frameworks
- Dockerfile — Use your own Dockerfile for full control over the build process
Deployment Flow
Section titled “Deployment Flow”Regardless of the deployment method, Piora’s deployment flow is roughly:
- Trigger deployment — Manually or automatically via Git push / Webhook
- Build image — Generate a Docker image using the selected build tool
- Health check — Verify the new container starts correctly
- Traffic switch — Traefik automatically routes traffic to the new container
- Cleanup — Remove old container versions
Environment Variables
Section titled “Environment Variables”All deployment methods support environment variable configuration. You can set environment variables for each application in the Piora dashboard:
DATABASE_URL=postgresql://user:pass@db:5432/mydbNODE_ENV=productionPORT=3000SECRET_KEY=your-secret-keyEnvironment variables are automatically injected into containers at deployment time and stored encrypted in the dashboard.
In This Section
Section titled “In This Section”- Git Deploy — Connect Git repositories for automated deployment
- Docker Deploy — Deploy using Docker images
- Compose Deploy — Deploy multi-container apps with Docker Compose