first commit

This commit is contained in:
npc0-hue
2026-07-11 14:56:10 +08:00
commit 7e05d0a4e7
660 changed files with 78119 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
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=file
# To use local MySQL metadata, change PLATFORM_STORAGE_BACKEND above from file to mysql,
# then uncomment and adjust:
# PLATFORM_MYSQL_DSN=platform:platform@tcp(127.0.0.1:3306)/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