forked from ISTI-ansible-roles/ansible-roles
38 lines
1.2 KiB
Django/Jinja
38 lines
1.2 KiB
Django/Jinja
<web-app>
|
|
<context-param>
|
|
<param-name>internalLoginUrl</param-name>
|
|
<param-value>http://localhost:{{ sharelatex_container_public_port }}/login</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>hostName</param-name>
|
|
<param-value>{{ sharelatex_hostname }}</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>mongoHost</param-name>
|
|
<param-value>{{ sharelatex_mongodb_host }}</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>mongoPort</param-name>
|
|
<param-value>27017</param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>mongoDatabaseName</param-name>
|
|
<param-value>{{ sharelatex_mongodb_db }}</param-value>
|
|
</context-param>
|
|
<!-- <context-param>
|
|
<param-name>mongoLogin</param-name>
|
|
<param-value></param-value>
|
|
</context-param>
|
|
<context-param>
|
|
<param-name>mongoPwd</param-name>
|
|
<param-value></param-value>
|
|
</context-param> -->
|
|
<servlet>
|
|
<servlet-name>org.gcube.data.access.sharelatex.connector.Connector</servlet-name>
|
|
</servlet>
|
|
<servlet-mapping>
|
|
<servlet-name>org.gcube.data.access.sharelatex.connector.Connector</servlet-name>
|
|
<url-pattern>/gcube/service/*</url-pattern>
|
|
</servlet-mapping>
|
|
</web-app>
|