add container to bridge

lektura
max.mehl 2018-10-09 15:12:35 +02:00
parent 3eac32ee1d
commit f766598cec
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
1 changed files with 8 additions and 0 deletions

View File

@ -16,3 +16,11 @@ services:
max-file: "5"
volumes:
- /srv/pmpc-cred:/srv/cred:ro
connect-bridge:
image: docker:dind
volumes:
- /var/run/docker.sock:/var/run/docker.sock
depends_on:
- pmpc
command: sh -c 'docker network connect bridge pmpc'