enable 30303 for geth on master
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a479245234
commit
ad1cc0dd2b
|
@ -20,6 +20,7 @@ faucet_geth_tag: 'v1.8.23'
|
|||
faucet_geth_image: 'ethereum/client-go:{{ faucet_geth_tag }}'
|
||||
faucet_geth_name: 'faucet-geth'
|
||||
faucet_geth_vol: '/docker/{{ faucet_geth_name }}'
|
||||
faucet_geth_main_port: 30303
|
||||
faucet_geth_rpc_port: 8545
|
||||
faucet_geth_alias: 'geth'
|
||||
|
||||
|
|
|
@ -1,4 +1,16 @@
|
|||
---
|
||||
- name: Enable geth port
|
||||
iptables:
|
||||
comment: 'Enable geth'
|
||||
action: insert
|
||||
chain: DOCKER-USER
|
||||
jump: ACCEPT
|
||||
source: '0.0.0.0/0'
|
||||
protocol: tcp
|
||||
destination_port: '{{ faucet_geth_main_port }}'
|
||||
notify:
|
||||
- Save iptables rules
|
||||
|
||||
- name: Enable faucet HTTP port
|
||||
iptables:
|
||||
comment: 'Enable faucet'
|
||||
|
|
|
@ -29,5 +29,6 @@
|
|||
--v5disc
|
||||
ports:
|
||||
- '127.0.0.1:{{ faucet_geth_rpc_port }}:{{ faucet_geth_rpc_port }}'
|
||||
- '{{ faucet_geth_main_port }}:{{ faucet_geth_main_port }}'
|
||||
volumes:
|
||||
- '{{ faucet_geth_vol }}/data:/date'
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
--networkid={{ miner_network_id }}
|
||||
--datadir=/data
|
||||
--password=/data/keystore/faucet.pass
|
||||
--port={{ faucet_geth_main_port }}
|
||||
--v5disc
|
||||
--shh
|
||||
--shh.pow={{ miner_shh_pow }}
|
||||
--rpc
|
||||
|
|
Loading…
Reference in New Issue