include hostname and hostname with .tinc in rpc vhost aliases
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
9bdc74d18e
commit
05aa09ae86
|
@ -25,7 +25,11 @@ geth_sync_check_script: '/usr/local/bin/check_geth_sync.sh'
|
|||
geth_rpc_addr: '127.0.0.1'
|
||||
geth_rpc_port: 8545
|
||||
geth_rcp_api: 'eth,net,web3,personal,shh,admin'
|
||||
geth_alias: 'geth'
|
||||
geth_aliases:
|
||||
- geth
|
||||
- localhost
|
||||
- '{{ hostname }}'
|
||||
- '{{ hostname }}.tinc'
|
||||
|
||||
# Sync mode: full, fast, light
|
||||
geth_sync_mode: 'light'
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
--rpc
|
||||
--rpcaddr=0.0.0.0
|
||||
--rpcport={{ geth_rpc_port }}
|
||||
--rpcvhosts={{ geth_alias }},localhost
|
||||
--rpcvhosts={{ geth_aliases | join(",") }}
|
||||
--rpcapi={{ geth_rcp_api }}
|
||||
volumes:
|
||||
- '{{ geth_cont_vol }}/keys:/keys:rw'
|
||||
|
|
Loading…
Reference in New Issue