Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

Recipe

server

The generic long-running server primitive on Docker Compose: one service running infra.image, listening on infra.port. Where the Release sets infra.published_port, that port is published on the host's loopback address, 127.0.0.1, forwarding to infra.port, so the application answers there and on no other host interface; unset, nothing is published, and the service is reached at its name on the Compose network. Reach for helm/server on Kubernetes. The service is sized from infra.compute. It runs one container, so an infra.replicas above one is refused by name, as Docker Compose keeps no replica count for a service it is handed this way. An edge's inject block dictates what reaches the container: each env entry a variable under that name, and each file entry a file from a Compose config. An arg entry, or any other mechanism, is refused by name: the recipe renders no command line. An edge that dictates nothing delivers nothing. The component's own inject block delivers env entries the same way.

Phiên bản

1.0.02.0.0

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:a1c0dd121004c6c9a18fef8ce8dfdadc7fffde3d4d88610732c5dbb0895f2dcd
Đã xuất bản
2026-11-15T08:09:29Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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:a925ac5c680cca41bc337c9650b03ee357c5371fd79426ac009641c41125b90c

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/compose/server:2.0.0
Đích
—
Triển khai
core/compute/server:1.1.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Workload

Workload · form: stateless · containers: main

Giá trị cục bộ

Chưa khai báo giá trị cục bộ nào.

Ánh xạ values

Chưa khai báo ánh xạ values nào.

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe →

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư