include hostname and hostname with .tinc in rpc vhost aliases

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-04-26 13:07:57 +02:00
parent 9bdc74d18e
commit 05aa09ae86
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 6 additions and 2 deletions

View File

@ -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'

View File

@ -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'