← back to Butlr
.deploy.conf
14 lines
PROJECT_NAME=butlr
DEPLOY_HOST=45.61.58.125
DEPLOY_PATH=/root/public-projects/butlr
HEALTH_URL=https://butlr.agentabrams.com/healthz
REQUIRED_ENVS=""
RSYNC_EXTRA_EXCLUDES="data/users.json data/users.json.* data/password-resets.json data/password-resets.json.* data/calls.json data/calls.json.* data/recordings data/transcripts data/audio-cache data/menu-map data/dnc-blocks.jsonl data/dnc-suppression.json data/uploads data/uploads-meta.json"
# Block deploys while calls are in flight — pm2 reload kills the WSS Media
# Stream lane and silently drops audio capture. Override with FORCE_DEPLOY=1.
PREDEPLOY_HOOK="bash scripts/predeploy-guard.sh"
# Idempotent every deploy: migrate user_ids, finalize any orphaned PCM → MP3.
INSTALL_CMD="npm ci --production && node scripts/migrate-calls-to-user.js && node scripts/finalize-recordings.js"