docs: consolidate runnable examples and publish v0.1.1 guides
This commit is contained in:
@@ -24,16 +24,16 @@ Compose 文件要求显式提供数据库密码,仓库没有默认密码,也
|
||||
|
||||
```sh
|
||||
docker build \
|
||||
--build-arg VERSION=1.0.0 \
|
||||
--build-arg VERSION=v0.1.1 \
|
||||
--build-arg REVISION="$(git rev-parse HEAD)" \
|
||||
--build-arg BUILD_TIME="$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
|
||||
-t orbit:1.0.0 .
|
||||
-t orbit:v0.1.1 .
|
||||
```
|
||||
|
||||
在当前 shell 或 Secret 管理器中注入配置。以下值仅是变量示例,不是生产密码:
|
||||
|
||||
```sh
|
||||
export ORBIT_IMAGE=orbit:1.0.0
|
||||
export ORBIT_IMAGE=orbit:v0.1.1
|
||||
export ORBIT_DB_NAME=orbit
|
||||
export ORBIT_DB_USER=orbit_runtime
|
||||
export ORBIT_DB_PASSWORD='从秘密管理器读取'
|
||||
|
||||
Reference in New Issue
Block a user