-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-1174] set orderer config path via env var
use ORDERER_CONFIG_PATH env var to set path to orderer.yaml Change-Id: I5b179352d5fec1ff7331bfee20af71f92bc571e7 Signed-off-by: tuand27613 <tdang@us.ibm.com>
- Loading branch information
1 parent
2e1e2cb
commit b0e902e
Showing
2 changed files
with
20 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
FROM hyperledger/fabric-baseimage:_BASE_TAG_ | ||
ENV ORDERER_CFG_PATH /etc/hyperledger/fabric | ||
RUN mkdir -p /var/hyperledger/db /etc/hyperledger/fabric | ||
COPY payload/orderer /usr/local/bin | ||
COPY payload/orderer.yaml /etc/hyperledger/fabric | ||
WORKDIR /etc/hyperledger/fabric | ||
COPY payload/orderer.yaml $ORDERER_CFG_PATH | ||
EXPOSE 7050 | ||
CMD orderer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters