Merge pull request #2 from status-im/containers
don't try to start containers
This commit is contained in:
commit
234fb601a3
|
@ -33,5 +33,3 @@ beacon_node_restart_window_sec: 120
|
|||
|
||||
# general container management
|
||||
compose_recreate: false
|
||||
compose_restart: false
|
||||
compose_destroy: false
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
- '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp'
|
||||
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'
|
||||
command:
|
||||
{% if beacon_node_network == "testnet2" %}
|
||||
- '--run'
|
||||
- '--'
|
||||
{% endif %}
|
||||
- '--nat=extip:{{ beacon_node_public_address }}'
|
||||
- '--log-level={{ beacon_node_log_level }}'
|
||||
- '--tcp-port={{ beacon_node_listening_port }}'
|
||||
|
|
|
@ -19,19 +19,8 @@
|
|||
{% if compose_recreate %}
|
||||
--force-recreate \
|
||||
{% endif %}
|
||||
--no-color
|
||||
--no-color \
|
||||
--no-start
|
||||
args:
|
||||
chdir: '{{ beacon_node_cont_vol }}'
|
||||
when: compose_state == "present"
|
||||
|
||||
- name: 'Restart container: {{ beacon_node_cont_name }}'
|
||||
command: docker-compose --compatibility down
|
||||
args:
|
||||
chdir: '{{ beacon_node_cont_vol }}'
|
||||
when: compose_restart
|
||||
|
||||
- name: 'Destroy container: {{ beacon_node_cont_name }}'
|
||||
command: docker-compose --compatibility down
|
||||
args:
|
||||
chdir: '{{ beacon_node_cont_vol }}'
|
||||
when: compose_destroy
|
||||
|
|
Loading…
Reference in New Issue