Installation
One-Command Setup
The simplest way to deploy srvly is with the all-in-one script:
curl -sL https://YOUR_DOMAIN/connect.sh | bash -s -- 'YOUR_SSH_PUBLIC_KEY'
This script will:
- 🔒 Harden SSH (key-only, no passwords)
- 🔥 Configure UFW firewall (22/80/443)
- 🛡️ Install Fail2Ban (3 attempts → 1h ban)
- 🐳 Install Docker + Compose
- 📥 Clone the srvly repository
- 🔑 Set up your SSH key (with hourly cron guard)
- ⚙️ Generate
.envand deploy the stack
Manual Installation
git clone https://github.com/Vellis59/srvly.git /opt/srvly
cd /opt/srvly
# Configure environment
cp platform/.env.example .env
nano .env # Fill in your secrets
# Deploy
docker compose -f infra/docker-compose.yml up -d --build