Files
notification-wakeup-service/.env.example
T

24 lines
1.0 KiB
Bash

# HTTP port (default: 3003)
PORT=3003
# Endorser API base URL (default: https://api.endorser.ch)
# ENDORSER_URL=https://api.endorser.ch
# DEFAULT_ENDORSER_API_SERVER=https://api.endorser.ch
# Partner API base URL (default: https://partner-api.endorser.ch)
# PARTNER_URL=https://partner-api.endorser.ch
# DEFAULT_PARTNER_API_SERVER=https://partner-api.endorser.ch
# Firebase Admin (required for WAKEUP_PING and AlertSearch FCM).
# Path 1: inline service account JSON (one line). The application reads this variable.
# FIREBASE_SERVICE_ACCOUNT_JSON={"type":"service_account",...}
# Path 2: if unset/empty, Application Default Credentials (ADC).
# ADC may use GOOGLE_APPLICATION_CREDENTIALS; the application does not read that name itself.
# Durable directory for SQLite: notify.sqlite plus -wal/-shm while running (default: ./data).
# In production this must be persistent storage (Docker: volume on /app/data).
# NOTIFY_DATA_DIR=./data
# Do not set NODE_ENV=test-local in production (bypasses ethr JWT expiry).
# NODE_ENV=test-local