Created
April 6, 2018 09:29
-
-
Save matzew/5ec87627fcceb7ec2f0ec22df75b4804 to your computer and use it in GitHub Desktop.
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
<datasource jndi-name="java:jboss/datasources/UnifiedPushDS" enabled="true" use-java-context="true" pool-name="UnifiedPushDS"> | |
<connection-url>jdbc:postgresql://${env.POSTGRES_SERVICE_HOST}:${env.POSTGRES_SERVICE_PORT}/${env.POSTGRES_DATABASE}</connection-url> | |
<driver>postgresql</driver> | |
<security> | |
<user-name>${env.POSTGRES_USER}</user-name> | |
<password>${env.POSTGRES_PASSWORD}</password> | |
</security> | |
<validation> | |
<check-valid-connection-sql>SELECT 1</check-valid-connection-sql> | |
<background-validation>true</background-validation> | |
</validation> | |
<pool> | |
<flush-strategy>IdleConnections</flush-strategy> | |
</pool> | |
</datasource> | |
<drivers> | |
<driver name="h2" module="com.h2database.h2"> | |
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class> | |
</driver> | |
<driver name="postgresql" module="org.postgresql"> | |
<xa-datasource-class>org.postgresql.xa.PGXADataSource</xa-datasource-class> | |
</driver> | |
</drivers> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment