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.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:c2545c0c772f0d77c29d171b1c768010dc27b10281f9ddd738ed4c82f69ceb8f
Published
2026-11-10T10:14:48Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/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

Reference at this version

oci://hub.aggrega.ai/featurerecipe/compose/dotenv-secret:1.0.0
Target
—
Implements
core/secret-value:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

No provides templates declared.

Inject mapping

env:
  {{ .values.key }}: {{ optional .values "origin" (optional .infra "origin" "") | toJson }}

Workload

No workload template declared.

Locals

No locals declared.

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

Used by

Nothing in the catalog depends on this entity.

FeatureRecipe concept reference →

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy