[localnet] fix folder permissions errors

This commit is contained in:
Anton Kaliaev 2018-04-12 13:42:34 +02:00
parent c0610b2c32
commit 5babaf9a88
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with 5 additions and 5 deletions

View File

@ -188,7 +188,7 @@ build-linux:
# Run a 4-node testnet locally
docker-start:
@echo "Wait until 'Attaching to node0, node1, node2, node3' message appears"
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v `pwd`/build:/tendermint tendermint/localnode testnet --v 4 --o build --populate-persistent-peers --starting-ip-address 10.100.0.2 ; fi
@if ! [ -f build/node0/config/genesis.json ]; then docker run --rm -v `pwd`/build:/tendermint:Z tendermint/localnode testnet --v 4 --o . --populate-persistent-peers --starting-ip-address 10.100.0.2 ; fi
docker-compose up
# Stop testnet

View File

@ -10,7 +10,7 @@ services:
- ID=0
- LOG=${LOG:-tendermint.log}
volumes:
- ${FOLDER:-./build}:/tendermint
- ${FOLDER:-./build}:/tendermint:Z
networks:
localnet:
ipv4_address: 10.100.0.2
@ -24,7 +24,7 @@ services:
- ID=1
- LOG=${LOG:-tendermint.log}
volumes:
- ${FOLDER:-./build}:/tendermint
- ${FOLDER:-./build}:/tendermint:Z
networks:
localnet:
ipv4_address: 10.100.0.3
@ -38,7 +38,7 @@ services:
ports:
- "46661-46662:46656-46657"
volumes:
- ${FOLDER:-./build}:/tendermint
- ${FOLDER:-./build}:/tendermint:Z
networks:
localnet:
ipv4_address: 10.100.0.4
@ -52,7 +52,7 @@ services:
ports:
- "46663-46664:46656-46657"
volumes:
- ${FOLDER:-./build}:/tendermint
- ${FOLDER:-./build}:/tendermint:Z
networks:
localnet:
ipv4_address: 10.100.0.5