-
-
Save ltearno/facdb18d745c95a31d7b56bef28f9ee9 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/ClusteringDS" pool-name="ClusteringDS" enabled="true" use-java-context="true" use-ccm="true"> | |
<connection-url>jdbc:postgresql://${env.POSTGRES_DB_HOST}:${env.POSTGRES_DB_PORT}/jbossclustering</connection-url> | |
<driver>postgresql</driver> | |
<security> | |
<user-name>${env.DB_USER}</user-name> | |
<password>${env.DB_PASSWORD}</password> | |
</security> | |
<validation> | |
<check-valid-connection-sql>SELECT 1</check-valid-connection-sql> | |
<background-validation>true</background-validation> | |
<background-validation-millis>60000</background-validation-millis> | |
</validation> | |
</datasource> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment