forked from HyperSpaceChain/obc-peer-1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move docker-compose files out of this branch. will be done separately
- Loading branch information
1 parent
dccf90b
commit 44a9b9c
Showing
4 changed files
with
29 additions
and
120 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,19 +1,20 @@ | ||
vp0: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
||
vp1: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
||
vp2: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
||
vp3: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
vp0: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
||
vp1: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
||
vp2: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
||
vp3: | ||
environment: | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=sieve | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
|
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,89 +1,35 @@ | ||
obcca: | ||
image: obcca | ||
command: obc-ca | ||
|
||
cli: | ||
image: | ||
obcpeer | ||
command: | ||
./infiniteloop.sh | ||
environment: | ||
- OPENCHAIN_PEER_ADDRESSAUTODETECT=true | ||
- OPENCHAIN_SECURITY_ENABLED=true | ||
links: | ||
- obcca | ||
- vp0 | ||
- vp1 | ||
- vp2 | ||
- vp3 | ||
|
||
vp0: | ||
image: | ||
obcpeer | ||
command: obc-peer peer | ||
extends: | ||
file: compose-defaults.yml | ||
service: vp | ||
environment: | ||
- OPENCHAIN_PEER_ADDRESSAUTODETECT=true | ||
- OPENCHAIN_SECURITY_ENABLED=true | ||
- OPENCHAIN_PEER_ID=vp0 | ||
- OPENCHAIN_PEER_VALIDATOR_CONSENSUS=obcpbft | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=classic | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
- OPENCHAIN_PEER_VALIDATOR_REPLICAS_IPS=vp0:30303 vp1:30303 vp2:30303 vp3:30303 | ||
- OPENCHAIN_SECURITY_ENROLLID=lukas | ||
- OPENCHAIN_SECURITY_ENROLLSECRET=NPKYL39uKbkj | ||
links: | ||
- obcca | ||
|
||
vp1: | ||
image: | ||
obcpeer | ||
command: obc-peer peer | ||
extends: | ||
service: vp0 | ||
environment: | ||
- OPENCHAIN_PEER_ADDRESSAUTODETECT=true | ||
- OPENCHAIN_SECURITY_ENABLED=true | ||
- OPENCHAIN_PEER_ID=vp1 | ||
- OPENCHAIN_PEER_VALIDATOR_CONSENSUS=obcpbft | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=classic | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
- OPENCHAIN_PEER_DISCOVERY_ROOTNODE=vp0:30303 | ||
- OPENCHAIN_SECURITY_ENROLLID=diego | ||
- OPENCHAIN_SECURITY_ENROLLSECRET=DRJ23pEQl16a | ||
links: | ||
- vp0 | ||
- obcca | ||
|
||
vp2: | ||
image: | ||
obcpeer | ||
command: obc-peer peer | ||
extends: | ||
service: vp0 | ||
environment: | ||
- OPENCHAIN_PEER_ADDRESSAUTODETECT=true | ||
- OPENCHAIN_SECURITY_ENABLED=true | ||
- OPENCHAIN_PEER_ID=vp2 | ||
- OPENCHAIN_PEER_VALIDATOR_CONSENSUS=obcpbft | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=classic | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
- OPENCHAIN_PEER_DISCOVERY_ROOTNODE=vp0:30303 | ||
- OPENCHAIN_SECURITY_ENROLLID=binhn | ||
- OPENCHAIN_SECURITY_ENROLLSECRET=7avZQLwcUe9q | ||
links: | ||
- vp0 | ||
- obcca | ||
|
||
vp3: | ||
image: | ||
obcpeer | ||
command: obc-peer peer | ||
extends: | ||
service: vp0 | ||
environment: | ||
- OPENCHAIN_PEER_ADDRESSAUTODETECT=true | ||
- OPENCHAIN_SECURITY_ENABLED=true | ||
- OPENCHAIN_PEER_ID=vp3 | ||
- OPENCHAIN_PEER_VALIDATOR_CONSENSUS=obcpbft | ||
- OPENCHAIN_OBCPBFT_GENERAL_MODE=classic | ||
- OPENCHAIN_OBCPBFT_GENERAL_TIMEOUT_REQUEST=10s | ||
- OPENCHAIN_PEER_DISCOVERY_ROOTNODE=vp0:30303 | ||
- OPENCHAIN_SECURITY_ENROLLID=jim | ||
- OPENCHAIN_SECURITY_ENROLLSECRET=6avZQLwcUe9b | ||
links: | ||
- vp0 | ||
- obcca |