syntax and CLI fixes

There's some weirdness in the interaction between Jinja2 directives and
YAML syntax.

Also, `--detach` cannot be used with `--no-start` for docker-compose.
This commit is contained in:
Ștefan Talpalaru 2020-06-26 22:57:50 +02:00
parent 234fb601a3
commit 26cad49f60
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 1 additions and 2 deletions

View File

@ -33,7 +33,7 @@
- '{{ beacon_node_metrics_port }}:{{ beacon_node_metrics_port }}/tcp' - '{{ beacon_node_metrics_port }}:{{ beacon_node_metrics_port }}/tcp'
- '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp' - '{{ beacon_node_listening_port }}:{{ beacon_node_listening_port }}/tcp'
- '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp' - '{{ beacon_node_discovery_port }}:{{ beacon_node_discovery_port }}/udp'
command: command: |
{% if beacon_node_network == "testnet2" %} {% if beacon_node_network == "testnet2" %}
- '--run' - '--run'
- '--' - '--'

View File

@ -15,7 +15,6 @@
up \ up \
--quiet-pull \ --quiet-pull \
--no-build \ --no-build \
--detach \
{% if compose_recreate %} {% if compose_recreate %}
--force-recreate \ --force-recreate \
{% endif %} {% endif %}