Created
February 29, 2016 14:16
-
-
Save mikemarmar/80ae07c3b65c190f50c5 to your computer and use it in GitHub Desktop.
Hippo servlet context configuration for Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<Context useHttpOnly="true"> | |
<!-- Disable session persistence across Tomcat restarts --> | |
<Manager pathname="" /> | |
<Parameter name="repository-address" value="rmi://127.0.0.1:1099/hipporepository" override="false"/> | |
<Parameter name="repository-directory" value="/usr/local/tomcat/repository" override="false"/> | |
<Parameter name="start-remote-server" value="false" override="false"/> | |
<Parameter name="check-username" value="liveuser" override="false"/> | |
<Resource name="mail/Session" auth="Container" | |
type="javax.mail.Session" mail.smtp.host="localhost"/> | |
<!-- JNDI resource exposing database connection goes here --> | |
<Resource | |
name="jdbc/repositoryDS" auth="Container" type="javax.sql.DataSource" | |
maxTotal="20" maxIdle="10" initialSize="2" maxWaitMillis="10000" | |
testWhileIdle="true" testOnBorrow="false" validationQuery="SELECT 1" | |
timeBetweenEvictionRunsMillis="10000" | |
minEvictableIdleTimeMillis="60000" | |
username="hippo" password="hippo" | |
driverClassName="com.mysql.jdbc.Driver" | |
url="jdbc:mysql://hippo-mysql:3306/hippo?characterEncoding=utf8"/> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment