หน้านี้แปลด้วยเครื่อง อ่านต้นฉบับภาษาอังกฤษ

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

เทมเพลตตัวชี้ที่กำหนดแน่นอนซึ่ง Recipe นี้เชื่อมโยงให้ผู้บริโภค

ไม่มีเทมเพลต provides ที่ประกาศ

การแมป inject

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

Workload

ไม่มีเทมเพลตเวิร์กโหลดที่ประกาศ

Locals

ไม่มี locals ที่ประกาศ

การแมป values

ไม่มีการแมป values ที่ประกาศ

ความสัมพันธ์

เส้นเชื่อมที่ระบุชนิดไปยังและมาจากเอนทิตีที่เผยแพร่อื่น การอ้างอิงที่ไม่มีเป้าหมายที่เผยแพร่จะเรนเดอร์เป็นเส้นเชื่อมที่ขาดแทนที่จะเป็นลิงก์

Uses

ใช้โดย

ไม่มีสิ่งใดในแค็ตตาล็อกพึ่งพาเอนทิตีนี้

เอกสารอ้างอิงแนวคิดของ FeatureRecipe

แค็ตตาล็อก Aggrega — ดัชนีเปิดของส่วนประกอบ ฟีเจอร์ Recipes และปลั๊กอินที่เรนเดอร์สิ่งเหล่านั้น

สร้างด้วยระบบการออกแบบร่วมของ Aggrega

ความเป็นส่วนตัว