docker-compose.yml: change command syntax

This commit is contained in:
Ștefan Talpalaru 2020-06-28 22:13:30 +02:00
parent 9ebad060dc
commit a415b4c187
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 12 additions and 12 deletions

View File

@ -31,20 +31,20 @@
- '{{ beacon_node_metrics_port }}:{{ beacon_node_metrics_port }}/tcp'
- '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp'
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'
command: |
command: >-
{% if beacon_node_network == "testnet2" %}
--run \
-- \
--run
--
{% endif %}
--nat=extip:{{ beacon_node_public_address }} \
--log-level={{ beacon_node_log_level }} \
--tcp-port={{ beacon_node_listening_port }} \
--udp-port={{ beacon_node_discovery_port }} \
--rpc \
--rpc-address=0.0.0.0 \
--rpc-port={{ beacon_node_rpc_port }} \
--metrics \
--metrics-address=0.0.0.0 \
--nat=extip:{{ beacon_node_public_address }}
--log-level={{ beacon_node_log_level }}
--tcp-port={{ beacon_node_listening_port }}
--udp-port={{ beacon_node_discovery_port }}
--rpc
--rpc-address=0.0.0.0
--rpc-port={{ beacon_node_rpc_port }}
--metrics
--metrics-address=0.0.0.0
--metrics-port={{ beacon_node_metrics_port }}
volumes:
- '{{ beacon_node_cont_vol }}/data:/root/.cache/nimbus'