Skip to main content

ComposeProject

Type Alias ComposeProject 

Source
pub type ComposeProject = ComposeRuntimePlan;
👎Deprecated:

use ComposeRuntimePlan; lifecycle state is owned by the caller

Expand description

Compatibility name for the former stateful Compose project type.

New code should use ComposeRuntimePlan to make the stateless translation boundary explicit.

Aliased Type§

pub struct ComposeProject {
    pub name: String,
    pub config: ComposeConfig,
    pub service_order: Vec<String>,
    pub base_dir: PathBuf,
}

Fields§

§name: String

Project name (derived from directory name or –project-name).

§config: ComposeConfig

The parsed compose config.

§service_order: Vec<String>

Service boot order (topologically sorted).

§base_dir: PathBuf

Base directory used to resolve relative env_file paths.