Complete platform management workflows
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
# Root local development defaults.
|
||||
# Copy to .env if you want docker compose to read custom values automatically.
|
||||
|
||||
PLATFORM_ADDR=:8080
|
||||
|
||||
# Platform metadata storage backend:
|
||||
# - file: default, writes platform metadata JSON to PLATFORM_METADATA_PATH.
|
||||
# - mysql: writes platform metadata to MySQL using PLATFORM_MYSQL_DSN.
|
||||
# - memory: tests/disposable local runs only.
|
||||
PLATFORM_STORAGE_BACKEND=file
|
||||
|
||||
# MySQL metadata example. Change PLATFORM_STORAGE_BACKEND above from file to mysql,
|
||||
# then uncomment and adjust PLATFORM_MYSQL_DSN.
|
||||
# MySQL is for users/plugins/servers/jobs/audit/log stream metadata, not row-per-log-line bodies.
|
||||
# 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 body storage is separate from metadata storage.
|
||||
# Keep this as file unless you are explicitly running disposable tests with memory.
|
||||
# For high-volume production logs, add a future LogBodyStore adapter such as ClickHouse/Loki/OpenSearch.
|
||||
PLATFORM_LOG_BODY_BACKEND=file
|
||||
PLATFORM_LOG_DIR=.platform-data/logs
|
||||
|
||||
RUN_MODE=worker
|
||||
RUN_PLATFORM_URL=http://127.0.0.1:8080
|
||||
RUN_ENDPOINT_ID=run-local
|
||||
RUN_DISPLAY_NAME=Local Run
|
||||
RUN_VERSION=0.1.0
|
||||
RUN_REGISTRATION_TOKEN=local-registration
|
||||
RUN_WORKSPACE_ROOT=.run-workspace
|
||||
RUN_SPOOL_ROOT=.run-workspace/spool
|
||||
RUN_MAX_JOBS=1
|
||||
RUN_HEARTBEAT_INTERVAL_MS=15000
|
||||
RUN_POLL_INTERVAL_MS=2000
|
||||
RUN_RETRY_BACKOFF_MS=1000
|
||||
|
||||
VITE_PLATFORM_API_BASE_URL=/api/v1
|
||||
PLATFORM_API_PROXY=http://127.0.0.1:8080
|
||||
VITE_ENABLE_LOCAL_AUTH_FALLBACK=true
|
||||
Reference in New Issue
Block a user