Jakub Sokołowski
e266840902
docker: use docker_compose_v2 module
...
https://docs.ansible.com/ansible/latest/collections/community/docker/docker_compose_v2_module.html
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-06 10:19:49 +02:00
Jakub Sokołowski
2bd2112339
rpc.sh: add 5 sec timeout and --show-error flag
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-21 14:57:42 +01:00
Jakub Sokołowski
136323e10f
docker: drop removed --miner.threads flag usage
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-10-24 14:17:10 +02:00
Jakub Sokołowski
293ebe5505
docker: make optional ports optional really optional
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-20 22:02:15 +01:00
Jakub Sokołowski
210156c5de
rpc.sh: improve flags for curl wrapper
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-09 17:27:34 +01:00
Jakub Sokołowski
f8f2e33772
attach.sh: fix position of --exec argument
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-12-09 13:05:36 +01:00
Jakub Sokołowski
ef8b393d1c
docker: drop deprecated --nousb flag
...
```
Option nousb is deprecated and USB is deactivated by default. Use --usb to enable
```
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-25 12:08:02 +02:00
Jakub Sokołowski
5504373808
docker: increase stop_grace_period to 1 minute
...
Geth data can be corrupted when Docker sends SIGKILL after 10s.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-24 22:10:13 +02:00
Jakub Sokołowski
4583821179
extend --ws.origins value to be same as rpc
...
Defaulting to `localhost` might be causing issues when `nim-waku` nodes
are trying to connect. For some reason there's no clear error like with RPC.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-17 19:15:23 +02:00
Jakub Sokołowski
dcc07cdefe
docker: sort vhosts and bootnodes
...
To avoid unnecessary restarts.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-09-07 13:23:00 +02:00
Jakub Sokołowski
fb1897650c
support configuration of Auth RPC for Engine API
...
This is required for communication with consensus layer nodes:
https://geth.ethereum.org/docs/interface/consensus-clients
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-11 11:42:02 +02:00
Jakub Sokołowski
9647eaeaf5
support optional geth_network_id
...
Useful to start testnets which don't have a dedicated flag defined.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-03-11 12:28:57 +01:00
Jakub Sokołowski
87b6be842f
default WebSocket port to using localhost address
...
It's equally as sensitive as the JSON RPC API endpoint.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-25 15:20:41 +02:00
Jakub Sokołowski
5ad36567e8
templates/rpc.hs: fix PARAMS, rop PARAMS_STR and quotes
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 11:54:14 +02:00
Jakub Sokołowski
f76e6f3779
fix RPC address if it's not localhost
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 14:59:08 +02:00
Jakub Sokołowski
8d2eeb8961
add support for geth_extra_flags list
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 13:58:48 +02:00
Jakub Sokołowski
c67fc0ef6c
swap limits are not supported by docker-compose
...
https://stackoverflow.com/questions/44325949/
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 20:47:42 +01:00
Jakub Sokołowski
18382d60d1
use rpc.sh script for RPC healthcheck
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 13:56:04 +01:00
Jakub Sokołowski
4cdf6e0e53
rename geth_aliases to geth_rpc_vhosts, add geth_cont_name
...
Fixes 403 Forbidden errors on connections between containers.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:57:47 +01:00
Jakub Sokołowski
f446b09f19
refactor to use Docker Compose file
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 12:16:43 +01:00
Jakub Sokołowski
c3df0ac68c
add rpc.sh wrapper, move console attach wrapper to attach.sh
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-19 14:05:46 +01:00
Jakub Sokołowski
91e1da9e03
rename ageth to ageth-{{ geth_cont_name }}
...
This fixes issue on hosts where multiple instances run.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-29 13:18:13 +01:00
Jakub Sokołowski
f94a05fcd1
add ageth - a wrapper script for accessing geth console
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-26 14:13:20 +02:00