Documentation Index
Fetch the complete documentation index at: https://fleet.aayu.sh/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll need
1. Create a Droplet
- Go to Create → Droplets
- Choose Ubuntu 24.04 LTS
- Select the Basic plan — the $6/mo (1 vCPU / 1 GB RAM) size is sufficient for most deployments
- Choose a datacenter region close to your users
- Add your SSH key under Authentication
- Click Create Droplet
2. SSH into the server
3. Install Docker
curl -fsSL https://get.docker.com | sh
4. Clone and start Fleet
git clone https://github.com/aayushxr/fleet.git
cd fleet
docker compose up -d
Fleet is now running on port 3000.
5. Set up a firewall
ufw allow OpenSSH
ufw allow 80
ufw allow 443
ufw enable
6. Point a domain (optional)
Create an A record in your DNS provider pointing your domain to the Droplet’s IP address.
7. Add HTTPS with nginx + Certbot
apt install -y nginx certbot python3-certbot-nginx
Create /etc/nginx/sites-available/fleet:
server {
listen 80;
server_name fleet.yourdomain.com;
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
ln -s /etc/nginx/sites-available/fleet /etc/nginx/sites-enabled/
nginx -t && systemctl reload nginx
Then obtain a free TLS certificate:
certbot --nginx -d fleet.yourdomain.com
Certbot automatically edits your nginx config to enable HTTPS and sets up auto-renewal.
Updating Fleet
cd fleet
git pull
docker compose up -d --build