Browse Source

[localnet] fix folder permissions errors

pull/1453/head
Anton Kaliaev 6 years ago
parent
commit
5babaf9a88
No known key found for this signature in database GPG Key ID: 7B6881D965918214
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      Makefile
  2. +4
    -4
      docker-compose.yml

+ 1
- 1
Makefile 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


+ 4
- 4
docker-compose.yml 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


Loading…
Cancel
Save