15 lines
465 B
Bash
15 lines
465 B
Bash
# Node.js real-time server config
|
|
# Copy this file to .env and fill in the values
|
|
|
|
# Port the Node.js server listens on
|
|
PORT=3000
|
|
|
|
# Secret key — PHP sends this in x-emit-secret header to authenticate /emit calls
|
|
# Also used by Node.js scheduler as x-cron-secret when calling PHP cron endpoints
|
|
# Use a long random string in production
|
|
EMIT_SECRET=
|
|
|
|
# PHP internal base URL (scheduler → PHP cron endpoints)
|
|
PHP_BASE_URL=http://127.0.0.1
|
|
PHP_WEBROOT=/mn3wms/app
|