Add a new option to the container.xml file. Disabled by default.

This commit is contained in:
Andrea Dell'Amico 2018-12-27 18:01:34 +01:00
parent 8206a3c53b
commit f727202ead
2 changed files with 6 additions and 1 deletions

View File

@ -21,6 +21,9 @@ smartgears_distribution_version: latest
smartgears_global_base_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}' smartgears_global_base_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ gcube_repository }}'
smartgears_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ smartgears_gcube_repository }}' smartgears_url: 'http://maven.research-infrastructures.eu/nexus/content/repositories/{{ smartgears_gcube_repository }}'
# Change to 'True' when the stable version will be >= 2.2.0-4.13.1
smartgears_set_protocol_in_conf: False
smartgears_name: smartgears-distribution smartgears_name: smartgears-distribution
smartgears_group_id: org.gcube.distribution smartgears_group_id: org.gcube.distribution
smartgears_extension: tar.gz smartgears_extension: tar.gz

View File

@ -14,7 +14,9 @@
<port>{{ item.http_port }}</port> <port>{{ item.http_port }}</port>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if smartgears_set_protocol_in_conf %}
<protocol>http</protocol>
{% endif %}
<site> <site>
<country>{{ smartgears_country }}</country> <country>{{ smartgears_country }}</country>
<location>{{ smartgears_location }}</location> <location>{{ smartgears_location }}</location>