ElasticMQDocker

izumi.distage.docker.bundled.ElasticMQDocker
object ElasticMQDocker extends ContainerDef

Example Elastic MQ docker. You're encouraged to use this definition as a template and modify it to your needs.

Attributes

Graph
Supertypes
trait ContainerDef
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited types

final type Config = ContainerConfig[Tag]

Attributes

Inherited from:
ContainerDef
final type Container = DockerContainer[Tag]

Attributes

Inherited from:
ContainerDef

Inherited and Abstract types

type Tag

Attributes

Inherited from:
ContainerDef

Value members

Concrete methods

override def config: Config

Attributes

Definition Classes

Inherited methods

final def copy(config: Config): Aux[Tag]

Attributes

Inherited from:
ContainerDef
final def make[F[_]](implicit evidence$1: Tag[F], tag: Tag[Tag]): Functoid[ContainerResource[F, Tag] & Lifecycle[F, Container]]

For binding in ModuleDef:

For binding in ModuleDef:

object KafkaDocker extends ContainerDef
object ZookeeperDocker extends ContainerDef

make[KafkaDocker.Container].fromResource {
 KafkaDocker
   .make[F]
   .dependOnContainer(ZookeeperDocker)
}

To kill all containers spawned by distage, use the following command:

 docker rm -f $(docker ps -q -a -f 'label=distage.type')

Attributes

Inherited from:
ContainerDef

Concrete fields

Inherited fields

final lazy val Config: ContainerConfig.type

Attributes

Inherited from:
ContainerDef