Commit Graph

85 Commits

Author SHA1 Message Date
Ștefan Talpalaru d363a54a1f
testnet2-specific args 2020-06-26 17:50:31 +02:00
Ștefan Talpalaru 62176b5b6c
don't try to start containers
and remove some unused commands/variables.

The rationale is that these containers need validator keys uploaded to
them before they can start and this is managed elsewhere.
2020-06-25 22:34:44 +02:00
Jakub Sokołowski 4ab7873125
use docker-compose command to use --compatibility
This is required due to following warning:

WARNING: Some services (beacon_node) use the 'deploy' key, which will be ignored.
         Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.

Without it the cpu/mem limits are not applied.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-26 18:55:24 +01:00
Jakub Sokołowski a85f7e906b
add restart_policy section to docker compose
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-26 16:12:48 +01:00
Jakub Sokołowski eb798800c7
set memory and cpu limits on the container
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-26 14:13:23 +01:00
Jakub Sokołowski 2923405a9d
bind RPC port to localhost from container
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-03-23 19:37:16 +01:00
Zahary Karadjov eadc21641f
Enable the RPC service; Handle CLI option name chnages 2020-03-23 18:55:20 +02:00
Jakub Sokołowski d8efd26e17
don't set id for healthchecks
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-26 17:44:04 +01:00
Jakub Sokołowski 9ffcda0db1
rename cont_state and similar to use compose_ prefix
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-19 11:00:18 +01:00
Jakub Sokołowski ad5a900c40
use docker-compose for easier container management
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-10 14:25:50 +01:00
Jakub Sokołowski 9681fd6060
open Metrics port too
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-02-03 14:07:05 +01:00
Jakub Sokołowski 3198343a25
Revert "don't configure consul if it's not enabled"
This reverts commit 66bb521b33.
2020-01-29 23:33:51 +01:00
Jakub Sokołowski 66bb521b33
don't configure consul if it's not enabled
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-01-28 20:57:39 +01:00
Jakub Sokołowski e37ebad154
disable healthchecks temporarily, shit is whack yo
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-06 14:34:08 +01:00
Jakub Sokołowski c2992d80b1
add --nat:extip flag to explicitly set advertised adress
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-01 16:33:47 +01:00
Jakub Sokołowski 0e1cac9e4b
make exposed port the same as container service port
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-11-01 16:05:02 +01:00
Zahary Karadjov 0b89c2b666
Remove an unnecessary command-line flag 2019-10-30 17:47:08 +02:00
Jakub Sokołowski 5c9391984c
add container name as metadata to metrics service
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-29 19:08:42 +01:00
Jakub Sokołowski d1c2c018cb
fix enabling metrics server
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-29 18:24:36 +01:00
Jakub Sokołowski 91ed5a7f43
update to use new posix compliant flags
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-10-29 17:27:56 +01:00
Jakub Sokołowski e446b26e27
remove loop for creating multiple containers
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-05-09 18:07:53 +02:00
Zahary Karadjov 3889a17e48
support raising and lowering the number of running nodes 2019-05-08 16:57:10 +03:00
Jakub Sokołowski f9db5421e3
remove useless beacon_node_verbose
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-23 19:55:23 +02:00
Jakub Sokołowski 631f739279
switch nibus log level back to INFO
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-23 19:35:05 +02:00
Jakub Sokołowski e8561faec3
fix name of loop_index variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-02 15:48:39 +02:00
Jakub Sokołowski ac72df3342
use a common service name for all beacon nodes
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-02 15:24:00 +02:00
Zahary Karadjov 921fd1d81f Fix a typo 2019-03-28 21:01:05 +02:00
Jakub Sokołowski 6de8fc678b
enable auto-updates of beacon containers on image push
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-25 17:29:53 +01:00
Jakub Sokołowski a7369a1739
add cont_ generic variables for managing state
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-23 10:30:29 +01:00
Jakub Sokołowski 020d513461
fix variable used in iptables loop
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-23 10:04:03 +01:00
Jakub Sokołowski 793e9a66f7
add consul service definition, fix volume paths
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-23 09:57:42 +01:00
Jakub Sokołowski a3add28eeb
fix name of beacon_node_network variable
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-22 19:02:14 +01:00
Zahary Karadjov 78a2ca23aa Support multiple nodes per host; Extract the Nginx site in a separate repo 2019-03-21 23:08:55 +02:00
Zahary Karadjov 38756cc9aa Use the prepared domain name 2019-03-19 17:32:43 +02:00
Zahary Karadjov f0f650eebc Initial commit (not tested) 2019-02-14 00:45:53 +02:00