mirror of
https://github.com/status-im/infra-faucet.git
synced 2025-02-24 08:38:32 +00:00
tell geth what vhost to expect from clients
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
19e8027f7c
commit
a479245234
@ -21,6 +21,7 @@ faucet_geth_image: 'ethereum/client-go:{{ faucet_geth_tag }}'
|
||||
faucet_geth_name: 'faucet-geth'
|
||||
faucet_geth_vol: '/docker/{{ faucet_geth_name }}'
|
||||
faucet_geth_rpc_port: 8545
|
||||
faucet_geth_alias: 'geth'
|
||||
|
||||
# generic container settings
|
||||
cont_state: started
|
||||
|
@ -13,9 +13,10 @@
|
||||
labels:
|
||||
com.centurylinklabs.watchtower.enable: 'true'
|
||||
links:
|
||||
- '{{ faucet_geth_name }}:geth'
|
||||
- '{{ faucet_geth_name }}:{{ faucet_geth_alias }}'
|
||||
ports:
|
||||
- '127.0.0.1:{{ faucet_http_port | mandatory }}:{{ faucet_http_port }}'
|
||||
command: |
|
||||
-network={{ faucet_network | mandatory }}
|
||||
-geth=http://{{ faucet_geth_alias }}:{{ faucet_geth_rpc_port }}/
|
||||
-acc_pass={{ faucet_account_pass | mandatory }}
|
||||
|
@ -23,10 +23,11 @@
|
||||
--syncmode=light
|
||||
--rpc
|
||||
--rpcapi=eth
|
||||
--rpcvhosts={{ faucet_geth_alias }}
|
||||
--rpcaddr=0.0.0.0
|
||||
--rpcport={{ faucet_geth_rpc_port }}
|
||||
--v5disc
|
||||
exposed_ports:
|
||||
- '{{ faucet_geth_rpc_port }}'
|
||||
ports:
|
||||
- '127.0.0.1:{{ faucet_geth_rpc_port }}:{{ faucet_geth_rpc_port }}'
|
||||
volumes:
|
||||
- '{{ faucet_geth_vol }}/data:/date'
|
||||
|
Loading…
x
Reference in New Issue
Block a user