Deploy AdonisJS to Your VPS
Install and self-host AdonisJS on any VPS. Install and deploy AdonisJS to your VPS with this ready-to-use demo project. Self-host AdonisJS on any server with Docker, health checks, and environment variables. Built with AdonisJS, TypeScript, PostgreSQL.
Tech Stack
AdonisJS
TypeScript
PostgreSQL
Lucid ORM
Docker
Install & Run on Your VPS
git clone https://github.com/kai-builder/servercompass-adonisjs-demo.gitcd servercompass-adonisjs-demodocker build -t servercompass-adonisjs-demo .docker run -d -p 3000:3000 --env-file .env servercompass-adonisjs-demoAPI Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | / | Main application page or API root |
| GET | /api/env | Display public environment variables |
| GET | /health | Health check endpoint for monitoring |
Environment Variables
| Variable | Type | Description |
|---|---|---|
APP_NAME | Public | Application display name |
APP_ENV | Public | Environment (development/production) |
PUBLIC_URL | Public | Public-facing URL of the application |
SECRET_KEY | Private | Application secret key for signing |
DATABASE_URL | Private | Database connection string |
Self-Host AdonisJS on Your VPS
Connect Your VPS
Add your VPS to Server Compass. Install on any Ubuntu/Debian server from DigitalOcean, Hetzner, Linode, or any provider.
Deploy from GitHub
Connect your GitHub account and deploy this AdonisJS project to your VPS. Server Compass builds and deploys automatically.
Configure Environment
Set environment variables, configure your domain, and enable auto-SSL. Self-host AdonisJS with zero DevOps required.
Go Live on Your Server
Your AdonisJS app is live on your VPS with Docker containers, Nginx reverse proxy, SSL certificates, and health monitoring.
Ready to Self-Host AdonisJS?
Install Server Compass and deploy AdonisJS to your VPS in minutes. Self-host on any server. One-time payment, no monthly fees.