26 lines
825 B
Plaintext
26 lines
825 B
Plaintext
PORT=8080
|
|
HOST=127.0.0.1
|
|
DB_PATH=./data/srs.db
|
|
|
|
# Shared secret between the Hermes plugin and srs-api (header: x-srs-secret). Min 16 chars.
|
|
# Generate one with: node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"
|
|
SRS_SECRET=change-me-to-a-long-random-string
|
|
|
|
JWT_SECRET=change-me-to-another-long-random-string
|
|
|
|
# Hermes WhatsApp bridge (local only)
|
|
BRIDGE_URL=http://127.0.0.1:3000
|
|
DEFAULT_COUNTRY_CODE=91
|
|
|
|
ORDER_CUTOFF=15:00
|
|
ORDER_ASK_UNTIL=15:30
|
|
ORDER_REMIND_MINUTES=10
|
|
ORDER_EXPIRE_MINUTES=30
|
|
# Seconds without a new message before the bot replies to an order being collected (max 50)
|
|
ORDER_UPDATE_QUIET_SECONDS=3
|
|
|
|
# Result PDF fetching (IST): check from START until a draw is stored, give up at END, retry every N minutes
|
|
RESULTS_WINDOW_START=16:00
|
|
RESULTS_WINDOW_END=19:00
|
|
RESULTS_RETRY_MINUTES=10
|