Enable access to peer via docker network
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.
@@ -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:
