move bootnodes options to geth node

This commit is contained in:
Jakub Sokołowski 2018-08-30 08:30:48 -04:00
parent 1271d4aae2
commit 3aa7614cb8
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,8 @@
--rpcaddr={{ geth_rpc_addr }} --rpcaddr={{ geth_rpc_addr }}
--rpcport={{ geth_rpc_port }} --rpcport={{ geth_rpc_port }}
--rpcapi=db,eth,net,web3,admin --rpcapi=db,eth,net,web3,admin
--nodiscover
--bootnodes={{ bootnodes | join(",") }}
volumes: volumes:
- '{{ geth_vol }}/keys:/keys:rw' - '{{ geth_vol }}/keys:/keys:rw'
- '{{ geth_vol }}/data:/data:rw' - '{{ geth_vol }}/data:/data:rw'

View File

@ -10,7 +10,7 @@
- '{{ cont_vol }}/store' - '{{ cont_vol }}/store'
- include_tasks: account.yml - include_tasks: account.yml
- include_tasks: geth.yml
- include_tasks: bootnodes.yml - include_tasks: bootnodes.yml
- include_tasks: geth.yml
- include_tasks: swarm.yml - include_tasks: swarm.yml
- include_tasks: consul.yml - include_tasks: consul.yml

View File

@ -24,7 +24,6 @@
--password=/keys/password --password=/keys/password
--store.path=/store --store.path=/store
--ens-api='http://geth:{{ geth_rpc_port }}' --ens-api='http://geth:{{ geth_rpc_port }}'
--bootnodes={{ bootnodes | join(",") }}
volumes: volumes:
- '{{ geth_vol }}/keys:/keys:rw' - '{{ geth_vol }}/keys:/keys:rw'
- '{{ cont_vol }}/data:/data:rw' - '{{ cont_vol }}/data:/data:rw'