ansible-roles/smartgears/ckan_connector/templates/ckan-web.xml.j2

30 lines
879 B
Plaintext
Raw Normal View History

<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>
<param-value>{{ ansible_fqdn }}</param-value>
</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>