forked from ISTI-ansible-roles/ansible-roles
34 lines
988 B
Django/Jinja
34 lines
988 B
Django/Jinja
<web-app>
|
|
<context-param>
|
|
<param-name>secret</param-name>
|
|
<param-value>@CKAN_SECRET@</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>hostIp</param-name>
|
|
<param-value>0.0.0.0</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>hostname</param-name>
|
|
{% if hostname is defined %}
|
|
<param-value>{{ hostname }}</param-value>
|
|
{% else %}
|
|
<param-value>{{ smartgears_hostname }}</param-value>
|
|
{% endif %}
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>internalPort</param-name>
|
|
<param-value>{{ ckan_webapp_port }}</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>ckanKey</param-name>
|
|
<param-value>@CKAN_API_KEY@</param-value>
|
|
</context-param>
|
|
<servlet>
|
|
<servlet-name>org.gcube.data.access.ckanconnector.CkanConnector</servlet-name>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>org.gcube.data.access.ckanconnector.CkanConnector</servlet-name>
|
|
<url-pattern>/*</url-pattern>
|
|
</servlet-mapping>
|
|
</web-app>
|