本页面为机器翻译。阅读英文原文。

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

未声明工作负载模板。

局部变量

未声明局部变量。

值映射

未声明值映射。

关系

与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。

使用

被使用

目录中没有任何内容依赖此实体。

FeatureRecipe 概念参考 →

Aggrega 目录 — 收录组件、功能、配方以及渲染它们的插件的开放索引。

基于共享的 Aggrega 设计系统构建。

隐私