docs(deploy): add backend DSL and environment examples [skip ci]

This commit is contained in:
2026-11-17 19:01:10 +08:00
parent 27412f58af
commit af3fc02320
5 changed files with 112 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# 打包 DSL 草案:目前仅用于讨论,现有构建和部署脚本尚不会读取此文件。
apiVersion: foundry/v1
kind: Backend
name: notes-backend
features:
auth:
providers: [google, email]
platform: true
research: false
codex: true
build:
target:
os: linux
arch: amd64
deploy:
domain: api.notes.example.com
database:
secretRef: notes-database
codex:
credentialsRef: notes-codex