FeatureRecipe
dotenv-secret
Compose realization of core/secret-value, for local development. It delivers origin — from values or infra, whichever carries it — under values.key on the consuming component's inject pipe, and the compose Recipe writes that value into the emitted docker-compose file as the service's environment value, exactly as authored. A literal origin therefore lands in the file as the credential itself. An origin written as a Compose variable reference, such as ${DB_PASSWORD}, lands as that reference instead, and Docker Compose substitutes it when the stack starts — from the shell environment, a file named with --env-file, or a .env file in the project directory — and substitutes an empty string, with a warning, for a variable it cannot resolve and that names no default. The compiler neither reads nor writes a .env file and emits no env_file entry; whoever starts the stack maintains the .env file.
出處
- 內容摘要
- sha256:c2545c0c772f0d77c29d171b1c768010dc27b10281f9ddd738ed4c82f69ceb8f
- 發布時間
- 2026-11-10T10:14:48Z
- 簽署身分
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
簽章
- 官方application/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:9174a545b8a82c016ae0cb947281dd64630be44b18cabca9beb80db71d8dede7
此版本的參照
oci://hub.aggrega.ai/featurerecipe/compose/dotenv-secret:1.0.0- 目標
- —
- 實作
- core/secret-value:1.0.0
提供
此配方為使用端連接的確定性指標範本。
未宣告任何 provides 範本。
注入對應
env:
{{ .values.key }}: {{ optional .values "origin" (optional .infra "origin" "") | toJson }}
Workload
未宣告任何工作負載範本。
Locals
未宣告任何 locals。
值對應
未宣告任何值對應。
關係
與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。
使用
- 實作實作
core/secret-value:1.0.0
被使用於
目錄中沒有任何項目相依於此實體。