Changes secretstore

This commit is contained in:
Javier Cortejoso 2018-11-14 18:17:23 +01:00
parent 9c02a0b2a7
commit 97fea262c7
3 changed files with 38 additions and 6 deletions

View File

@ -13,18 +13,20 @@ services:
ipv4_address: 172.15.0.11
parity-node:
image: parity/parity:stable
image: oceanprotocol/parity-ethereum:beta
entrypoint: /opt/parity/parity
command:
--config /home/parity/parity/config/validator.toml
--config /home/parity/parity/config/secretstoreclient.toml
--db-path /home/parity/chains
--keys-path /home/parity/.local/share/io.parity.ethereum/keys
--base-path /home/parity/base
--engine-signer 0x00bd138abd70e2f00903268f3db08f2d25677c9e
--jsonrpc-interface 0.0.0.0
--ws-interface 0.0.0.0
--ui-interface 0.0.0.0
--unsafe-expose
--ws-interface all
--jsonrpc-cors all
--jsonrpc-interface all
--jsonrpc-hosts all
--jsonrpc-apis all
--unsafe-expose
--unlock 0x00bd138abd70e2f00903268f3db08f2d25677c9e
volumes:
- ./parity/parity/config:/home/parity/parity/config
@ -51,6 +53,7 @@ services:
- ./parity/secret_store/keys/:/parity_data/keys/ocean-network/
ports:
- 12000:12000
- 12001:12001
networks:
backend:
ipv4_address: 172.15.0.13

View File

@ -0,0 +1,26 @@
# Users config file in users.toml
# This configuration file can be used for either Alice, Bob or Charlie
[parity]
chain = "/home/parity/parity/config/chain.json"
[rpc]
port = 8545
interface = "0.0.0.0"
cors = ["all"]
hosts = ["all"]
apis = ["web3", "secretstore", "eth", "pubsub", "net", "parity", "parity_pubsub", "parity_accounts", "traces", "rpc", "shh", "shh_pubsub"]
[secretstore]
disable = true # users do not run a secret store node
[network]
port = 30303
bootnodes = [
"enode://16bddd0215f9bb8a9328671b7b1554a7811cf310065fde04248ce4cea92fe2831412894c912e6b9e45019d5011631452055a5c1873f2d6760baa95f51c449787@172.15.0.13:30303",
"enode://bd97feab0fdd069c3fe1f260285053f6a6fa6eaa840bfd6730a1ce6b0b9eccef616bfca7b498fb04c02f5fb9ecd8c40617c32acbdd4b55d306a3f4468b6885f2@172.15.0.12:30303"
]
discovery = true
[account]
password = ["/home/parity/parity/validator.pwd"]

View File

@ -19,3 +19,6 @@ password = ["/home/parity/parity/validator.pwd"]
[mining]
reseal_on_txs = "none"
[secretstore]
disable = true