Deploy
Deploying Wavelink
What any deployment needs
- One always-on process for the service. It holds the WhatsApp socket and SQLite files. No serverless, no autoscaling, no two replicas.
- A persistent disk mounted where
DATA_DIRpoints. Losing it means relinking every phone and losing synced history. - A public HTTPS address for the service's
/mcp,/oauth/*and/.well-known/*paths, set asPUBLIC_URL. The dashboard can share the same domain (recommended) or have its own. - Node 24 or the provided Docker images.
- About 1 GB of RAM at runtime for a handful of accounts; the dashboard build wants 1.5 GB or swap.
Pick one
| Platform | Cost to start | Setup effort | Guide |
|---|---|---|---|
| Docker Compose on any VPS (Hetzner, DigitalOcean, EC2, home server) | ~$4–6/month | 10 minutes, one command | docker.md |
| AWS Lightsail | $12/month for 2 GB | 15 minutes, one script | lightsail.md |
| Ubuntu VPS without Docker (systemd + Caddy) | ~$4–6/month | 15 minutes, one script | vps.md |
| Railway | pay as you go, ~$5–10/month | 10 minutes in the UI | railway.md |
| Fly.io | pay as you go, ~$5/month | 15 minutes with flyctl |
fly.md |
| Render | paid plan required for a disk | 10 minutes with a Blueprint | render.md |
Not suitable: Vercel, Netlify, Cloudflare Workers, AWS Lambda and similar for the service. They have no long-lived process or local disk. The dashboard could run there, but keeping it next to the service is simpler and avoids exposing the service API.
Reverse proxy rules
Whatever fronts your install must send these paths to the service (port 3940) and everything else to the dashboard (port 3100):
/mcp /mcp/* /oauth/* /.well-known/*Both provided Caddyfiles (deploy/caddy/Caddyfile for Compose, the one written by deploy/vps/setup.sh) already do this. For nginx:
location ~ ^/(mcp|oauth/|\.well-known/) { proxy_pass http://127.0.0.1:3940; }
location / { proxy_pass http://127.0.0.1:3100; }After deploying
- Open the dashboard, sign in as the superadmin, delete
initial-admin-password.txtif one was generated, and change the password. - Scan the QR code.
- Confirm
https://<domain>/.well-known/oauth-protected-resourcereturns JSON. - Connect ChatGPT or Claude.
- Set up a backup of the data directory or volume.
Updating
Pull the new version and rebuild: docker compose pull && docker compose up -d --build, or re-run deploy/vps/setup.sh <domain>. Data is never touched by updates; schema migrations run automatically on start.