Docker.Commands.Compose.Up (docker_wrapper v0.1.2)

Copy Markdown View Source

Implements the Docker.Command behaviour for docker compose up.

Examples

import Docker.Commands.Compose.Up

new()
|> file("docker-compose.yml")
|> detach()
|> build()
|> service("redis")
|> Docker.compose_up()

Summary

Types

t()

@type t() :: %Docker.Commands.Compose.Up{
  abort_on_container_exit: term(),
  always_recreate_deps: term(),
  build_flag: term(),
  detach: term(),
  env_files: term(),
  files: term(),
  force_recreate: term(),
  no_build: term(),
  no_deps: term(),
  no_recreate: term(),
  no_start: term(),
  profiles: term(),
  project_directory: term(),
  project_name: term(),
  pull: term(),
  quiet_pull: term(),
  remove_orphans: term(),
  scale: term(),
  services: term(),
  timeout: term(),
  wait: term()
}

Functions

abort_on_container_exit(cmd)

always_recreate_deps(cmd)

build(cmd)

detach(cmd)

env_file(cmd, f)

file(cmd, f)

force_recreate(cmd)

new()

no_build(cmd)

no_deps(cmd)

no_recreate(cmd)

no_start(cmd)

profile(cmd, p)

project_directory(cmd, d)

project_name(cmd, n)

pull_policy(cmd, p)

quiet_pull(cmd)

remove_orphans(cmd)

scale(cmd, service, count)

service(cmd, s)

timeout(cmd, t)

wait(cmd)