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 PLATFORM_ARTIFACT_DIR=.platform-data/artifacts # Optional one-time bootstrap. Leave unset in normal deployments after an admin exists. # The password is read from process environment and only a password verifier is persisted. # PLATFORM_BOOTSTRAP_ADMIN_EMAIL=operator@example.test # PLATFORM_BOOTSTRAP_ADMIN_PASSWORD=replace-with-a-long-local-secret # Required outside disposable local development. This protects persisted component-key ciphertext. # PLATFORM_SECRET_ENVELOPE_KEY=replace-with-at-least-32-random-characters