Docs · Admin

Self-hosting

Most teams use the hosted Spamurai at app.spamuraidialer.com. If you run your own copy, this guide puts it on a small Linux server with Docker and your own domain. About 20 minutes.

What you need

  • A Linux server (Ubuntu 24.04 works well) with a public IP address. The smallest size is enough to start.
  • A domain or subdomain you control, e.g. dialer.yourcompany.com.
  • Node.js 22.13 or newer if you run it without Docker (it uses Node’s built-in SQLite).

1. Point your domain at the server

Add a DNS A record: dialer.yourcompany.com → your server’s IP address.

2. Install Docker

ssh root@your-server-ip
curl -fsSL https://get.docker.com | sh

3. Get the app onto the server

Clone your copy of the repository on the server, or copy the folder over (without local data):

rsync -av --exclude node_modules --exclude data --exclude backups --exclude .env ./ root@your-server-ip:/opt/power-dialer/

4. Start it

cd /opt/power-dialer
echo "DOMAIN=dialer.yourcompany.com" > .env
docker compose up -d --build
docker compose logs dialer

Caddy gets an https certificate for your domain automatically. The log shows a one-time setup link (…/login.html?setup=…). Open it to create the first admin account; it only works once. That admin is also the super-admin who can create spaces.

5. Connect Twilio

Sign in, open Settings: the public address is already set from DOMAIN. Connect Twilio and click Save & connect.

Updating

cd /opt/power-dialer
git pull
docker compose up -d --build

Useful commands

docker compose logs -f dialer                     # follow the log
docker compose restart dialer                     # restart
docker compose exec dialer node server/backup.js  # back up now

Settings

VariableDefaultWhat it does
DOMAINYour domain; sets the public address and the https certificate
BACKUPSonoff disables the daily backup
BACKUP_KEEP14How many daily backups to keep
TRUST_PROXY1 (in compose)Trust the reverse proxy’s https and address headers
META_APP_SECRET, META_VERIFY_TOKENNeeded for Meta lead ads

Backups off the server

Backups land in /data/backups inside the Docker volume. Copy them elsewhere regularly, e.g.:

rsync -av root@your-server-ip:/var/lib/docker/volumes/power-dialer_dialer-data/_data/backups/ ./dialer-backups/

Many VPS providers also offer automatic disk snapshots; worth switching on.