Page MenuHomeDevCentral

Create a Docker network for Bugzilla containers
ClosedPublic

Authored by dereckson on Oct 7 2018, 17:21.

Details

Summary

Bugzilla requires a MySQL 5 container and the app container.
They'll share a standalone network.

Ref T205

Test Plan

docker network ls

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson created this revision.
dereckson marked an inline comment as done.
dereckson added inline comments.
pillar/paas/docker.sls
60

18, 19, 20 used by the three Mastodon networks (in /16).

This revision is now accepted and ready to land.Oct 7 2018, 17:21

18, 19, 20 used by Mastodon => let's start at 21

Salt master
$ salt dwellers state.apply roles/paas-docker/docker/networks
dwellers:
----------
          ID: docker_network_bugzilla
    Function: docker_network.present
        Name: bugzilla
      Result: True
     Comment: Network 'bugzilla' created
     Started: 17:25:39.356626
    Duration: 513.504 ms
     Changes:   
              ----------
              created:
                  True

Summary for dwellers
------------
Succeeded: 1 (changed=1)
Failed:    0
------------
Total states run:     1
Total run time: 513.504 ms

$ ssh dwellers docker network ls
NETWORK ID          NAME                        DRIVER              SCOPE
fd5aea3ffe68        bridge                      bridge              local
ecea0e311703        bugzilla                    bridge              local
5ca141f02489        host                        host                local
b1e7ed61e35c        mastodon_default            bridge              local
5abcf71e6554        mastodon_external_network   bridge              local
8ea46a3c236a        mastodon_internal_network   bridge              local
9cf0ac8ce0f9        none                        null                local
This revision was automatically updated to reflect the committed changes.