Page MenuHomeDevCentral

Standardize Docker configuration to support several containers per service everywhere
Closed, ResolvedPublic

Description

NOTE: The code sample contains a sample historically used with legacy Jenkins distributed architecture terminology. Such language isn't accepted anymore and should be read as "jenkins_agent" instead, the new service name.

The docker_containers pillar entry contains mixed data, according we need one container or several containers for a service.

Example of one service, two containers:

jenkins_slave:
  apsile:
    ip: 172.17.0.100
  elapsi:
    ip: 172.17.0.101

Example of one service, one container:

cachet:
  app_port: 39080
  host: status.nasqueron.org
  mysql_link: acquisitariat

To make easier to write Salt states depending of this pillar entry, plan is to standardize the configuration entry to one service, several container.

Accordingly, all the containers deployment logic should support several containers for one service.

Event Timeline

dereckson renamed this task from Standardize Docker configuration format to Standardize Docker configuration format to support several containers per service everywhere.Sep 11 2018, 12:50
dereckson triaged this task as High priority.
dereckson updated the task description. (Show Details)
dereckson added projects: Salt, Technical debt.
dereckson renamed this task from Standardize Docker configuration format to support several containers per service everywhere to Standardize Docker configuration to support several containers per service everywhere.Sep 11 2018, 12:52

We now have validated the pass-docker role with Equatower deployment. All looks good.