21 lines
815 B
Bash
21 lines
815 B
Bash
PLATFORM_ADDR=:8080
|
|
|
|
# Platform metadata storage:
|
|
# file -> local durable JSON snapshot at PLATFORM_METADATA_PATH.
|
|
# mysql -> MySQL metadata snapshot table using PLATFORM_MYSQL_DSN.
|
|
# memory -> tests/disposable local runs only.
|
|
PLATFORM_STORAGE_BACKEND=mysql
|
|
|
|
# To use local MySQL metadata, change PLATFORM_STORAGE_BACKEND above from file to mysql,
|
|
# then uncomment and adjust:
|
|
PLATFORM_MYSQL_DSN=platform:5SZGTpX68YryfmHH@tcp(bt.npc0.com:30306)/platform?parseTime=true
|
|
|
|
PLATFORM_DATA_DIR=.platform-data
|
|
PLATFORM_METADATA_PATH=.platform-data/metadata.json
|
|
|
|
# Log bodies are intentionally separate from metadata.
|
|
# MySQL metadata still defaults logs to segmented files; do not put hundreds/thousands
|
|
# of server log lines into MySQL rows.
|
|
PLATFORM_LOG_BODY_BACKEND=file
|
|
PLATFORM_LOG_DIR=.platform-data/logs
|