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:
parent
234fb601a3
commit
26cad49f60
|
@ -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'
|
||||||
- '--'
|
- '--'
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue