docs(deploy): add backend DSL and environment examples [skip ci]
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user