jina.orchestrate.deployments.config.docker_compose module#

class jina.orchestrate.deployments.config.docker_compose.DockerComposeConfig(args, deployments_addresses=None)[source]#

Bases: object

Class that implements the output of configuration files for docker-compose for a given Deployment.

to_docker_compose_config()[source]#
Return a list of dictionary configurations. One for each service in this Deployment
Return type

List[Tuple[str, Dict]]