diff options
author | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
commit | 60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch) | |
tree | 1ee530dd7367d743fb619f341100e41df22e1985 /content/en/blog/docker/docker-compose-bridge.md | |
parent | Updated docsy theme (diff) | |
download | www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2 www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip |
Rewrote the whole website to get rid on a heavy theme
Diffstat (limited to 'content/en/blog/docker/docker-compose-bridge.md')
-rw-r--r-- | content/en/blog/docker/docker-compose-bridge.md | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/content/en/blog/docker/docker-compose-bridge.md b/content/en/blog/docker/docker-compose-bridge.md deleted file mode 100644 index 16a823d..0000000 --- a/content/en/blog/docker/docker-compose-bridge.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: "Docker compose predictable bridge" -linkTitle: "Docker compose predictable bridge" -date: 2018-09-25 -description: > - How to use a predefined bridge with docker compose ---- - -By default, docker-compose will create a network with a randomly named bridge. If you are like me using a strict firewall on all your machines, this just cannot work. - -You need to put your services in `network_mode: “bridge”` and add a custom `network` entry like : - -{{< highlight yaml >}} -version: '3.0' - -services: - sshportal: - image: moul/sshportal - environment: - - SSHPORTAL_DEFAULT_ADMIN_INVITE_TOKEN=integration - command: server --debug - depends_on: - - testserver - ports: - - 2222 - network_mode: "bridge" -networks: - default: - external: - name: bridge -{{< /highlight >}} |