Getting Started
Welcome to Virgo documentation. This guide will help you get started with installing and configuring your VPS management panel.
Requirements
- Docker & Docker Compose
- Proxmox VE 7.0+ (for virtualization)
- Domain name (recommended)
- SSL certificate (recommended)
Quick Start
# Clone the repository git clone https://github.com/virgo-panel/virgo.git cd virgo # Copy environment file cp .env.example .env # Start services docker compose up -d
Installation
Docker Installation
# Install Docker curl -fsSL https://get.docker.com | sh # Start Docker sudo systemctl enable docker sudo systemctl start docker
Download & Configure
git clone https://github.com/virgo-panel/virgo.git cd virgo cp .env.example .env nano .env # Edit configuration
Configuration
Environment Variables
| Variable | Description | Default |
|---|---|---|
DB_HOST | Database host | postgres |
DB_PORT | Database port | 5432 |
JWT_SECRET | JWT signing secret | - |
LICENSE_KEY | Your license key | - |
PVE Setup
Create API Token
In Proxmox VE, go to Datacenter → Permissions → API Tokens:
- Click "Add"
- Select user (e.g., root@pam)
- Enter Token ID (e.g., virgo)
- Uncheck "Privilege Separation"
- Save the token
API Reference
Authentication
curl -H "Authorization: Bearer YOUR_API_TOKEN" \ https://your-panel.com/api/v1/instances
Endpoints
GET
/api/v1/instancesList all instances
POST
/api/v1/instancesCreate new instance
DELETE
/api/v1/instances/:idDelete instance