Skip to main content

start_commands

Function start_commands 

Source
pub fn start_commands(
    compose: &str,
    jobs: &[String],
    wait_timeout: Option<u32>,
) -> String
Expand description

The shell command that starts a Compose project with compose (e.g. docker compose -f x): plain up -d --build --wait when no job is left over, else everything but the jobs up and waited for, then each job attached. jobs are the leaf jobs (leaf_jobs); the services to wait for are listed at run time (as_arguments).