Skip to content

Commit

Permalink
[CE-450] Enable access to peer via docker network
Browse files Browse the repository at this point in the history
It does this by exposing a
single port on the internal
network so that proxies and
etc can access the peer via
the docker network.

Change-Id: Idea8718c2cd755b4071811f69a545691805abefb
Signed-off-by: Alex Meijer <alex@corsha.com>
  • Loading branch information
ameijer-corsha committed Aug 31, 2018
1 parent a4017f5 commit f8afc98
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ services:
{{ peer.name }}:
container_name: {{ peer.name }}
image: {{ fabric.repo.url }}fabric-peer:{{ fabric.baseimage_tag }}
expose:
- "7051"
network_mode: bridge
hostname: {{ peer.name }}
environment:
Expand Down

0 comments on commit f8afc98

Please sign in to comment.