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 up
for specified compose file.- Parameters:
path (
os.PathLike
) – Path to compose file.overrides (
list
ofos.PathLike
, optional) – Docker compose override files, e.g.docker-compose.override.yml
.force_recreate (
bool
, optional) – Force recreation of containers specified indocker-compose
file. 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) – Printstdout
andstdin
generated bydocker-compose
command. Defaults toTrue
.check_output (
bool
, optional) – Raise ifdocker-compose
fails. Defaults toTrue
.env_vars (
dict
, optional) – Environment variables to set before runningdocker-compose