A centralized server management panel built with Node.js, Express, and WebSocket.
I developed Server-Panel to make managing and monitoring multiple VPS servers easier through a single dashboard.
- Real-time server monitoring.
- Multi-server management via SSH.
- Interactive web-based terminal.
- File manager with Monaco Editor.
- PM2 process management.
- Docker, Nginx, and SSL management.
- Backup and restore.
- Git-based deployments.
- Team accounts and role permissions.
- Discord and Telegram notifications.
- Encrypted configuration and audit logs.
- Install Docker
- Create a
docker-compose.ymlfile similar to this:
services:
app:
image: 'ghcr.io/i5l5/server-panel:latest'
restart: unless-stopped
ports:
- '3000:3000'
volumes:
- ./data:/app/dataThis is the bare minimum configuration required. See Configuration for more.
- Bring up your stack by running
docker compose up -d- Get your admin login from the logs
docker compose logs appOn first start the panel creates an admin account with a random password and prints it in the logs.
- Log in to the panel
Open http://127.0.0.1:3000 (or http://<server-ip>:3000) and sign in with the credentials from the logs.
Everything the panel stores lives in ./data: servers, encrypted secrets, accounts, audit log, metrics history, and a generated .env that holds PANEL_TOKEN, CONFIG_KEY and the admin password. Back up this folder. Saved SSH passwords can't be decrypted without its CONFIG_KEY.
You can set any option from .env.example under environment: in docker-compose.yml, or edit ./data/.env, then restart:
environment:
PANEL_USERNAME: admin
PANEL_PASSWORD: a-long-password-of-12-chars-or-more
TRUST_PROXY: 'true' # when behind Nginx / Caddy / Traefik
PANEL_ORIGINS: https://panel.example.com| Task | Command |
|---|---|
| Update to the latest version | docker compose pull && docker compose up -d |
| Show admin login and API token | docker compose exec -u node app node scripts/setup.js --show |
| View logs | docker compose logs -f app |
| Stop | docker compose down (data in ./data is kept) |
Tips
- Different port: change the left side of the port mapping, for example
'8080:3000'. - Managing the Docker host itself: add
extra_hosts: ['host.docker.internal:host-gateway'], then add a server with hosthost.docker.internal. - SSH keys: mount a key read-only, for example
- ~/.ssh/id_ed25519:/run/secrets/ssh_key:ro, and setSSH_KEY_PATH=/run/secrets/ssh_key. - HTTPS: put the panel behind a reverse proxy, for example Nginx Proxy Manager, and set
TRUST_PROXYandPANEL_ORIGINSas shown above.
MIT