feat: install workspace backend config template
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Workspace Backend local config template.
|
||||
#
|
||||
# Copied to `.yoi/workspace-backend.default.toml` during workspace init.
|
||||
# Copy that file to `.yoi/workspace-backend.local.toml` and edit it.
|
||||
# The `.local` file is intentionally git-ignored.
|
||||
#
|
||||
# Omit a key to use the built-in default. TOML has no `null`, so optional
|
||||
# settings are represented by leaving the key commented out.
|
||||
|
||||
[server]
|
||||
# Backend HTTP/WebSocket listen address.
|
||||
listen = "127.0.0.1:8787"
|
||||
|
||||
# Browser-facing frontend URL used by local tooling/display.
|
||||
frontend_url = "http://127.0.0.1:5173"
|
||||
|
||||
# Static SPA build directory override. Leave commented for dev/API-only mode.
|
||||
# Relative paths are resolved from the workspace root.
|
||||
# static_assets_dir = "web/workspace/dist"
|
||||
|
||||
[data]
|
||||
# Backend data root override. Leave commented to use the user-data default:
|
||||
# <data_dir>/workspace-server/<workspace_id>/
|
||||
# Relative paths are resolved from the workspace root.
|
||||
# root = ".yoi/workspace-backend.data"
|
||||
|
||||
# Explicit control-plane SQLite DB path override.
|
||||
# If omitted, this defaults to `<data.root>/workspace.db`.
|
||||
# workspace_database_path = ".yoi/workspace-backend.data/workspace.db"
|
||||
|
||||
# Explicit embedded Runtime fs-store root override.
|
||||
# If omitted, this defaults to `<data.root>/embedded-runtime`.
|
||||
# embedded_runtime_store_root = ".yoi/workspace-backend.data/embedded-runtime"
|
||||
|
||||
[limits]
|
||||
max_records = 200
|
||||
|
||||
# Remote Runtime sources. Token values must not be written here.
|
||||
# Use token_ref only after secret-ref resolution is implemented for this config.
|
||||
#
|
||||
# [[runtimes.remote]]
|
||||
# id = "example"
|
||||
# endpoint = "http://127.0.0.1:8790"
|
||||
# display_name = "Example Runtime"
|
||||
# token_ref = "local:example-runtime-token"
|
||||
Reference in New Issue
Block a user