Medalla nodes (#6)
This commit is contained in:
parent
9e5c0beec8
commit
5767de09c8
|
@ -29,3 +29,6 @@ compose_recreate: false
|
|||
# shared testnet cron job
|
||||
beacon_node_shared_testnet_cron: false
|
||||
|
||||
# shared testnet name
|
||||
beacon_node_shared_testnet: 'medalla'
|
||||
|
||||
|
|
|
@ -29,7 +29,8 @@
|
|||
- '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp'
|
||||
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'
|
||||
command: >-
|
||||
{% if beacon_node_network == "testnet2" %}
|
||||
{% if beacon_node_network in ["testnet2", "testnet3"] %}
|
||||
--network {{ beacon_node_shared_testnet }}
|
||||
--run
|
||||
--
|
||||
{% endif %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
- name: "Shared testnet: periodic container restart Cron job"
|
||||
cron:
|
||||
name: "shared testnet restart"
|
||||
minute: "10"
|
||||
minute: "0"
|
||||
hour: "0,6,12,18"
|
||||
job: "PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'; cd {{ beacon_node_cont_vol }}; docker-compose --compatibility run --rm --name {{ beacon_node_cont_name }}-build-run beacon_node --build; docker-compose restart -t 60"
|
||||
when: beacon_node_shared_testnet_cron
|
||||
|
|
Loading…
Reference in New Issue