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_image: 'ethereum/client-go:{{ faucet_geth_tag }}'
|
||||||
faucet_geth_name: 'faucet-geth'
|
faucet_geth_name: 'faucet-geth'
|
||||||
faucet_geth_vol: '/docker/{{ faucet_geth_name }}'
|
faucet_geth_vol: '/docker/{{ faucet_geth_name }}'
|
||||||
|
faucet_geth_main_port: 30303
|
||||||
faucet_geth_rpc_port: 8545
|
faucet_geth_rpc_port: 8545
|
||||||
faucet_geth_alias: 'geth'
|
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
|
- name: Enable faucet HTTP port
|
||||||
iptables:
|
iptables:
|
||||||
comment: 'Enable faucet'
|
comment: 'Enable faucet'
|
||||||
|
|
|
@ -29,5 +29,6 @@
|
||||||
--v5disc
|
--v5disc
|
||||||
ports:
|
ports:
|
||||||
- '127.0.0.1:{{ faucet_geth_rpc_port }}:{{ faucet_geth_rpc_port }}'
|
- '127.0.0.1:{{ faucet_geth_rpc_port }}:{{ faucet_geth_rpc_port }}'
|
||||||
|
- '{{ faucet_geth_main_port }}:{{ faucet_geth_main_port }}'
|
||||||
volumes:
|
volumes:
|
||||||
- '{{ faucet_geth_vol }}/data:/date'
|
- '{{ faucet_geth_vol }}/data:/date'
|
||||||
|
|
|
@ -16,6 +16,8 @@
|
||||||
--networkid={{ miner_network_id }}
|
--networkid={{ miner_network_id }}
|
||||||
--datadir=/data
|
--datadir=/data
|
||||||
--password=/data/keystore/faucet.pass
|
--password=/data/keystore/faucet.pass
|
||||||
|
--port={{ faucet_geth_main_port }}
|
||||||
|
--v5disc
|
||||||
--shh
|
--shh
|
||||||
--shh.pow={{ miner_shh_pow }}
|
--shh.pow={{ miner_shh_pow }}
|
||||||
--rpc
|
--rpc
|
||||||
|
|
Loading…
Reference in New Issue