Compox.Docker.Services (compox v0.1.1)
Provides functions to work with Compox services.
Summary
Functions
@spec start([Compox.Docker.Services.Service.t()]) :: [ Compox.Docker.Services.Service.t() ]
@spec start(Compox.Docker.Services.Service.t()) :: Compox.Docker.Services.Service.t()
Starts services from the docker compose
.
Each service is started independently.
After all services are launch, returns the list of services updated with each container id.
@spec stop([Compox.Docker.Services.Service.t()]) :: :ok
@spec stop(Compox.Docker.Services.Service.t()) :: :ok
Stops the given services.
In order to stop the containers, sends a SIGKILL
message to all the
container process.