.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
NODE_ENV
HOST
PORT
LOG_LEVEL
DATABASE_URL
secret
PG_POOL_MAX
JWT_SECRET
secret
JWT_ACCESS_TTL
secret
JWT_REFRESH_TTL
secret
CORS_ORIGINS
RATE_LIMIT_MAX
RATE_LIMIT_WINDOW
BODY_LIMIT
WA_TABLE_PREFIX
WEBHOOK_TIMEOUT_MS
WEBHOOK_MAX_RETRIES
MEDIA_STORAGE
S3_ENDPOINT
S3_REGION
S3_BUCKET
brew install flyctl && fly launch --from https://github.com/w3nder/multi-wa-api
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/w3nder/multi-wa-api
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/w3nder/multi-wa-api