Deploy Your First App
This guide walks you through deploying your first application on Kuploy. By the end, you'll have a running application accessible via a Kuploy-provided domain.
Prerequisites
- A Kuploy account
- A Git repository with your application code (GitHub, GitLab, or Bitbucket)
Create a Project
Projects help you organize related applications, databases, and resources.
- Navigate to your Kuploy dashboard
- Click New Project
- Enter a project name (e.g., "my-web-app")
- Select your preferred region
- Click Create Project
Choose a region closest to your users for the best performance.
Add an Application
- Inside your project, click Add Resource → Application
- Enter a name for your application
- Click Create Application
Connect Your Git Repository
- In your application settings, go to the Source tab
- Click Connect Repository
- Choose your Git provider (GitHub, GitLab, or Bitbucket)
- Authorize Kuploy to access your repositories
- Select the repository containing your application
- Choose the branch to deploy (usually
mainormaster)
Choose a Build Method
Kuploy supports three build methods:
Nixpacks (Recommended)
Nixpacks automatically detects your application's language and framework, then builds an optimized container image.
Supported languages include:
- Node.js / JavaScript / TypeScript
- Python
- Go
- Rust
- Ruby
- PHP
- Java
- .NET
- And many more
# Nixpacks automatically detects your app type
# No configuration needed for most applications
Nixpacks is the default and recommended option for most applications. It requires zero configuration for standard projects.
Dockerfile
If you have specific requirements, you can use your own Dockerfile:
- Select Dockerfile as the build method
- Specify the Dockerfile path (default:
Dockerfile) - Optionally set the build context
# Example Dockerfile for a Node.js app
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY . .
EXPOSE 3000
CMD ["npm", "start"]
Buildpacks
Cloud Native Buildpacks provide another automated build option:
- Select Buildpacks as the build method
- Choose a buildpack provider (Heroku, Paketo, or Google)
- Configure any required build environment variables
Configure Your Application
Port Configuration
Kuploy automatically detects the port your application listens on. If needed, you can manually set it:
- Go to Settings → Network
- Set the Port to match your application (e.g.,
3000,8080)
Resource Allocation
Configure CPU and memory limits:
| Plan | CPU | Memory |
|---|---|---|
| Starter | 0.5 vCPU | 512 MB |
| Standard | 1 vCPU | 1 GB |
| Pro | 2 vCPU | 4 GB |
Deploy Your Application
- Click the Deploy button
- Watch the build logs in real-time
- Once complete, your app is live!
Access Your Application
After deployment, your application is available at:
https://[app-name]-[random-id].kuploy.app
You can find the full URL in the application overview page.
Add a custom domain to use your own URL like app.yourdomain.com.
Automatic Deployments
Enable automatic deployments to redeploy whenever you push to your branch:
- Go to Settings → Source
- Toggle Auto Deploy on
- Optionally add branch filters or path filters
Now every push to your configured branch will trigger a new deployment automatically.
Next Steps
- Configure environment variables for your application
- Add a custom domain with automatic SSL
- Set up a database for your application
- Configure monitoring and alerts