System active. Deployment endpoints and live health status are detailed below.
Gateway POSTs here. Configure in your gateway admin UI.
https://wa.em-24.com.pk/webhook.php
Ensure: HMAC secret in env, timestamp fresh, Content-Type: application/json.
Authenticate via the dashboard login page with the credentials printed once to app container logs on first boot.
https://wa.em-24.com.pk/dashboard/login.php
If lost, reset via MySQL: UPDATE users SET password_hash = password_hash('NewStrongPass!', PASSWORD_DEFAULT) WHERE username = 'admin';
Processes the message queue via cron every 15s inside the app container.
docker exec wa-cmd-app php cron_worker.php --daemon --interval=15
(already running via baked dcron inside image)
Health, version, and connectivity summary:
docker exec wa-cmd-app php -r 'require "/var/www/app/includes/bootstrap.php"; \$m = new Wac\DbMySQL(); \$m->connect(); echo "DB OK\n";'docker compose logs --tail 50 app
MySQL : ? Connected
MSSQL : ? Available
Secret : ? Configured
API Key : ? Configured
Logs : /var/www/app/logs
php/schema/001_init.sql against your MySQL database..env.example to .env and populate required credentials.php test_send.php YOUR_NUMBER 'Test Message'php test_webhook.php message.received YOUR_NUMBER '!status'php cron_worker.phphttps://wa.em-24.com.pk/webhook.php* * * * * cd '/var/www/app' && php cron_worker.php >> logs/cron.log 2>&1 * * * * * sleep 15; cd '/var/www/app' && php cron_worker.php >> logs/cron.log 2>&1 * * * * * sleep 30; cd '/var/www/app' && php cron_worker.php >> logs/cron.log 2>&1 * * * * * sleep 45; cd '/var/www/app' && php cron_worker.php >> logs/cron.log 2>&1
cd .. && npm install && npm run buildmkdir -p php/public && cp -R client/dist/* php/public/https://wa.em-24.com.pk/