Browse Source

add container to bridge

Max Mehl 2 months ago
parent
commit
f766598cec
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      docker-compose.yml

+ 8
- 0
docker-compose.yml View File

@@ -16,3 +16,11 @@ services:
16 16
         max-file: "5"
17 17
     volumes:
18 18
        - /srv/pmpc-cred:/srv/cred:ro
19
+
20
+  connect-bridge:
21
+    image: docker:dind
22
+    volumes:
23
+     - /var/run/docker.sock:/var/run/docker.sock
24
+    depends_on:
25
+       - pmpc
26
+    command: sh -c 'docker network connect bridge pmpc'

Loading…
Cancel
Save