Commit Graph

68 Commits

Author SHA1 Message Date
Jakub Sokołowski 5b91c936dc
firewall: add rules to new SERVICES chain
https://github.com/status-im/infra-hq/issues/69
https://github.com/status-im/infra-role-bootstrap-linux/commit/92d8923b
https://github.com/status-im/infra-role-wireguard/commit/8394639e

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-08-02 19:39:55 +02:00
Jakub Sokołowski e85230e6d7
replace Tinc VPN with WireGuard
https://github.com/status-im/infra-hq/issues/58

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-19 23:02:25 +02:00
Jakub Sokołowski c3b51f0799
make location of rpc.sh wrapper customizable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-05-11 12:17:34 +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 27ff1d257b
support running init before container creation
This allows for providing a custom genesis config file.

For more details see:
https://github.com/status-im/infra-nimbus/issues/53

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-29 14:33:40 +02:00
Jakub Sokołowski 682b6ffeb3
fix typo in task name reading account json
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-04-09 16:00:28 +02: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 1db9eb2f6c
use geth_cont_name for Consul service name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 13:50:04 +01:00
Jakub Sokołowski c5ef3a4f2d
put wrappers under geth_service_path
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 13:49:49 +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 b49b5dde83
expose geth metrics port at 6060
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-25 10:00:34 +01:00
Jakub Sokołowski 0eed3daea9
add geth_discovery_enabled flag
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-24 12:16:39 +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 704d1e3d57
upgrade 1.9.25 to 1.10.1
https://github.com/ethereum/go-ethereum/releases/tag/v1.10.1
https://github.com/ethereum/eth1.0-specs/blob/master/network-upgrades/berlin.md

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-03-16 23:24:15 +01:00
Jakub Sokołowski 1921fcfe98
add support for custom bootnodes with geth_bootnodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2021-02-06 20:32:08 +01:00
Jakub Sokołowski 16eecb5b9e
allow for customizing allowed WebSocket origins
https://geth.ethereum.org/docs/rpc/server
https://github.com/ethereum/go-ethereum/issues/16608

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-12-04 18:22:27 +01:00
Jakub Sokołowski bd4723548a
allow enabling websocket API port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 16:31:23 +01:00
Jakub Sokołowski 94d9f1bce1
move delay for befor we call find
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 14:47:50 +01:00
Jakub Sokołowski 9591893b87
dont set --cache if not specified, it messes with things
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-11-24 14:46:50 +01:00
Jakub Sokołowski 94ba389e8f
increase delay before symlinking
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-21 13:03:42 +02:00
Jakub Sokołowski cc19c54471
don't use --networkid flag, it causes issues
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-21 12:42:12 +02:00
Jakub Sokołowski ded00daf03
add 1 second delay before symlinking account JSON
Before it would fail due to no found files.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-20 15:34:08 +02:00
Jakub Sokołowski e9af5921c9
specifyu permissions for account address file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-08 09:42:27 +02:00
Jakub Sokołowski 166e778590
fix regex for finding geth account files
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-10-07 18:30:50 +02:00
Jakub Sokołowski 919802a3e2
use --networkid flag to pick network, use mainnet by default
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-08 15:50:18 +02:00
Jakub Sokołowski d0bd08decc
fix loading account JSON if not specified
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-03 16:10:14 +02:00
Jakub Sokołowski a5706e5793
upgrade: 1.9.12 > 1.9.14
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-06-03 12:27:11 +02:00
Jakub Sokołowski 39d511917c
fix account generation
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-17 01:33:38 +01:00
Jakub Sokołowski c981226058
fix naming of memory limit variables to use geth_ prefix
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-16 18:30:02 +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 2eb861290a
more verbose message
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 01:34:49 -04:00
Jakub Sokołowski e1b1371bfb
fix check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-10 00:09:31 -04:00
Jakub Sokołowski 4845ea8a18
explicit conversion to string
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:54:31 -04:00
Jakub Sokołowski 10cce6eb7c
fix memory check
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 21:54:07 -04:00
Jakub Sokołowski d35e1aa301
add cont_restart_policy variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:41:42 -04:00
Jakub Sokołowski b57a168648
use --nousb to disable usb device checks
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-08-09 14:23:51 -04:00
Jakub Sokołowski b78e128d91
add a memory vs cache size check to avoid container getting killed
details: https://github.com/ethereum/go-ethereum/issues/19859

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-19 10:37:31 -04:00
Jakub Sokołowski b5e0975507
update flag to use new format
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 15:43:00 -04:00
Jakub Sokołowski b596eabb9e
add --allow-insecure-unlock to unlock account wile RPC is enabled
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-07-11 13:01:11 -04:00
Jakub Sokołowski 060cdf13d1
add geth_extra_data in form of hostname
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-28 08:30:44 -04:00
Jakub Sokołowski f8bd15d776
fix task name
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-27 10:06:01 -04:00
Jakub Sokołowski 6fc6a3d10d
fix permissions recursively for continer dirs
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-27 09:50:51 -04:00
Jakub Sokołowski 0d88f8251b
add creation of data dir
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-27 09:47:53 -04:00
Jakub Sokołowski a83e372da7
add flat for enabling metrics
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-14 19:28:57 +02:00
Jakub Sokołowski fbf1b1b9fc
specify geth IPC path
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-10 16:23:49 +02:00
Jakub Sokołowski 7f824bd841
increase curl timeout for geth check requests
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-08 14:20:32 +02:00
Jakub Sokołowski 3dc350658d
add whisper and miner settings
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 14:42:40 +02:00
Jakub Sokołowski 0beccbceef
add task for creating trusted-nodes.json file
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 14:29:11 +02:00
Jakub Sokołowski a1084b7acb
remove lightpeers option
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 12:00:15 +02:00
Jakub Sokołowski a27322f54e
add maxpeers setting
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-07 10:53:21 +02:00