SELF-HOST DEPLOYMENT
Deploy your own SafeMode instance with full control
┌─ SELECT DEPLOYMENT TARGET ─
RECOMMENDED
[ RAILWAY ]
One-click cloud deployment
>Automatic SSL & domains
>Built-in Redis & Postgres
>Easy scaling
>Free tier available
DEPLOY → ▓▓▓
[ RENDER ]
Managed cloud platform
>Blueprint deployment
>Managed databases
>Auto-deploys from Git
>Free tier available
DEPLOY → ▓▓▓
[ DOCKER ]
Self-managed containers
>Full control
>Run anywhere
>Docker Compose ready
>VPS compatible
DEPLOY → ▓▓▓
└───────────────────────────────────────┘
┌─ DOCKER COMPOSE SETUP ─
For manual deployment, use Docker Compose:
# Clone the repository git clone https://github.com/safemode/whatsapp-scanner.git cd whatsapp-scanner # Copy environment template cp .env.example .env # Start all services docker-compose up -d # View logs docker-compose logs -f wa-client
Required environment variables:
>
REDIS_URL>
DATABASE_URL>
VIRUSTOTAL_API_KEY>
GOOGLE_SAFE_BROWSING_KEY└───────────────────────────────────────┘
┌─ SYSTEM REQUIREMENTS ─
MINIMUM
> 1 vCPU
> 1GB RAM
> 10GB Storage
RECOMMENDED
> 2 vCPU
> 2GB RAM
> 20GB SSD
SERVICES
> Redis 7+
> PostgreSQL 15+
> Node.js 20+
└───────────────────────────────────────┘