compose_up¶
- rapid_clay_formations_fab.docker.compose_up(path, overrides=None, force_recreate=False, remove_orphans=False, ignore_orphans=True, print_output=True, check_output=True, env_vars=None)[source]¶
Run
docker-compose upfor specified compose file.- Parameters:
path (
os.PathLike) – Path to compose file.overrides (
listofos.PathLike, optional) – Docker compose override files, e.g.docker-compose.override.yml.force_recreate (
bool, optional) – Force recreation of containers specified indocker-composefile. Defaults toFalse.remove_orphans (
bool, optional) – Remove orphaned containers. Defaults toFalse.ignore_orphans (
bool, optional) – Don’t warn about orphaned containers (useful since the use of multiple compose files produces false positives for this check). Defaults toTrue.print_output (
bool, optional) – Printstdoutandstdingenerated bydocker-composecommand. Defaults toTrue.check_output (
bool, optional) – Raise ifdocker-composefails. Defaults toTrue.env_vars (
dict, optional) – Environment variables to set before runningdocker-compose