Deploying from Templates
Step-by-step guide to deploying applications from Sproobo templates
Sproobo provides pre-configured templates to help you quickly create sites for common frameworks and deploy services like PostgreSQL and Redis on your servers.
Templates set sensible defaults for build commands, port, and server configuration — you can customise any setting after creation.
Application Templates
Use application templates when creating a Node.js or static site to get pre-filled build configuration for your framework:
Supported Frameworks
- Next.js: Node.js site with
npm run buildand PM2 - Express / Node.js: Generic Node.js site with PM2
- Static Site: Builds to an output directory served by nginx
- Docker Compose: Multi-container app via
docker compose up
Service Templates (PostgreSQL & Redis)
Service templates install PostgreSQL or Redis directly on one of your servers. These are not separate managed services — they run on the same server you select.
Available Services
- PostgreSQL: Installs PostgreSQL with a configured database, user, and password
- Redis: Installs Redis with password authentication
After installation, the connection string is available in the service details. Add it as an environment variable in your site settings.
Deploying from a Template
- 1
Navigate to Sites or Services
Go to "Sites" to deploy an application, or the "Services" section of a server to install PostgreSQL or Redis. - 2
Select a Template
Choose the template that matches your framework or service. The template pre-fills recommended settings.Select a template to pre-fill recommended settings for your stack. - 3
Configure the Site or Service
Review and adjust the settings if needed:- Site name: A descriptive label
- Server: Which server to deploy to
- Build command / start command: Pre-filled from template, edit as needed
- Environment variables: Add secrets like database URLs and API keys
- Domain: Optionally set a custom domain for automatic HTTPS
Review and customise the template configuration before deploying. - 4
Deploy
Click "Deploy" (for sites) or "Install" (for services). Sproobo connects to your server and runs the setup automatically. - 5
Site Ready
Once complete you will have:- A live URL for your site (HTTPS if a domain was configured)
- Access to real-time logs and server metrics
- Deployment history for rollbacks