Skip to main content

Module compose

Module compose 

Source
Expand description

Building and running the docker compose command.

Which -f files and which --profile flags is the whole of the shell’s dc(): the base file from the package, the generated overlays from .run/, and a profile per capability the config switches on.

Re-exports§

pub use crate::assets::package_dir;

Structs§

Compose

Functions§

cached_services
The services the last up remembered for this workspace, from the registry the shell implementation also writes (~/.run/services.json). Reading it keeps rst <app> from having to start docker just to recognise a name.
require_docker
workspace_overlay