🚧 Move imei_mapping and app_tokens to database
This commit is contained in:
@@ -32,6 +32,15 @@ MQTT_CLIENT_ID=nodeledge-mqtt-listener
|
||||
INJECT_IMEI_KEY=imei
|
||||
INJECT_DEVICE_KEY=device
|
||||
|
||||
# API authentication bootstrap. On the FIRST deployment the app_tokens table
|
||||
# is empty; on the first authenticated request the api seeds the SHA-256
|
||||
# digest of this token. Set a long random value, rotate to real per-app
|
||||
# tokens via PUT /configs/app_tokens, then unset this. Ignored once the
|
||||
# table has rows (and never on a migrated database).
|
||||
BOOTSTRAP_APP_TOKEN=
|
||||
# Label for the seeded bootstrap row (informational only).
|
||||
BOOTSTRAP_APP_NAME=bootstrap
|
||||
|
||||
# Comma-separated payload keys searched for a device timestamp (first
|
||||
# parseable one wins). Accepts ISO 8601 strings, epoch seconds or epoch
|
||||
# milliseconds. Rows without a parseable timestamp keep payload_time NULL.
|
||||
|
||||
Reference in New Issue
Block a user