2019-08-12 23:03:57 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<confluence-configuration>
|
|
|
|
|
|
|
|
<setupStep>setupstart</setupStep>
|
|
|
|
<setupType>custom</setupType>
|
|
|
|
<buildNumber>0</buildNumber>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<property name="confluence.database.connection.type">database-type-standard</property>
|
|
|
|
<property name="webwork.multipart.saveDir">${localHome}/temp</property>
|
|
|
|
<property name="attachments.dir">${confluenceHome}/attachments</property>
|
|
|
|
|
2020-08-18 01:06:26 +00:00
|
|
|
<property name="lucene.index.dir">{{ atl_lucene_index_dir | default('${confluenceHome}/index') }}</property>
|
|
|
|
|
2019-08-12 23:03:57 +00:00
|
|
|
{% if atl_jdbc_url is defined %}
|
|
|
|
{% set databases = {
|
|
|
|
"mysql": ["com.mysql.jdbc.Driver", "MySQLDialect"],
|
|
|
|
"postgresql": ["org.postgresql.Driver", "PostgreSQLDialect"],
|
|
|
|
"mssql": ["com.microsoft.sqlserver.jdbc.SQLServerDriver", "SQLServerDialect"],
|
|
|
|
"oracle12c": ["oracle.jdbc.driver.OracleDriver", "OracleDialect"]
|
|
|
|
} %}
|
|
|
|
<property name="confluence.database.choice">{{ atl_db_type }}</property>
|
|
|
|
|
|
|
|
<property name="hibernate.connection.url">{{ atl_jdbc_url }}</property>
|
|
|
|
<property name="hibernate.connection.username">{{ atl_jdbc_user }}</property>
|
|
|
|
<property name="hibernate.connection.password">{{ atl_jdbc_password }}</property>
|
|
|
|
<property name="hibernate.connection.driver_class">{{ databases[atl_db_type][0] }}</property>
|
|
|
|
<property name="hibernate.dialect">com.atlassian.confluence.impl.hibernate.dialect.{{ databases[atl_db_type][1] }}</property>
|
|
|
|
|
|
|
|
<property name="hibernate.c3p0.min_size">{{ atl_db_poolminsize | default('20') }}</property>
|
|
|
|
<property name="hibernate.c3p0.max_size">{{ atl_db_poolmaxsize | default('100') }}</property>
|
|
|
|
<property name="hibernate.c3p0.timeout">{{ atl_db_timeout | default('30') }}</property>
|
|
|
|
<property name="hibernate.c3p0.idle_test_period">{{ atl_db_idletestperiod | default('100') }}</property>
|
|
|
|
<property name="hibernate.c3p0.max_statements">{{ atl_db_maxstatements | default('0') }}</property>
|
|
|
|
<property name="hibernate.c3p0.validate">{{ atl_db_validate | default('false') }}</property>
|
|
|
|
<property name="hibernate.c3p0.acquire_increment">{{ atl_db_acquireincrement | default('1') }}</property>
|
|
|
|
<property name="hibernate.c3p0.preferredTestQuery">{{ atl_db_validationquery | default('select 1') }}</property>
|
|
|
|
{% endif %}
|
|
|
|
|
2019-08-12 23:52:18 +00:00
|
|
|
{% if atl_cluster_type is defined %}
|
|
|
|
<property name="confluence.cluster">true</property>
|
2019-08-13 00:25:02 +00:00
|
|
|
<property name="confluence.cluster.name">{{ atl_cluster_name }}</property>
|
2019-08-15 04:54:10 +00:00
|
|
|
<property name="confluence.cluster.node.name">{{ atl_cluster_node_name }}</property>
|
2019-08-15 04:29:18 +00:00
|
|
|
<property name="confluence.cluster.home">{{ atl_product_home_shared | default(confluence_shared_home) | default('') }}</property>
|
|
|
|
<property name="shared-home">{{ atl_product_home_shared | default(confluence_shared_home) | default('') }}</property>
|
2019-08-12 23:52:18 +00:00
|
|
|
|
2019-08-13 00:25:02 +00:00
|
|
|
<property name="confluence.cluster.join.type">{{ atl_cluster_type }}</property>
|
2019-08-12 23:52:18 +00:00
|
|
|
{% if atl_cluster_type == 'aws' %}
|
|
|
|
<property name="confluence.cluster.aws.iam.role">{{ atl_hazelcast_network_aws_iam_role }}</property>
|
|
|
|
<property name="confluence.cluster.aws.region">{{ atl_hazelcast_network_aws_iam_region }}</property>
|
|
|
|
<property name="confluence.cluster.aws.host.header">{{ atl_hazelcast_network_aws_host_header }}</property>
|
2019-08-13 04:21:29 +00:00
|
|
|
<property name="confluence.cluster.aws.security.group.name">{{ atl_hazelcast_network_aws_security_group }}</property>
|
2019-08-12 23:52:18 +00:00
|
|
|
<property name="confluence.cluster.aws.tag.key">{{ atl_hazelcast_network_aws_tag_key }}</property>
|
|
|
|
<property name="confluence.cluster.aws.tag.value">{{ atl_hazelcast_network_aws_tag_value }}</property>
|
|
|
|
<property name="confluence.cluster.ttl">{{ atl_cluster_ttl }}</property>
|
2019-08-13 00:25:02 +00:00
|
|
|
|
|
|
|
{% elif atl_cluster_type == 'tcp_ip' %}
|
|
|
|
<property name="confluence.cluster.peers">{{ atl_cluster_peers }}</property>
|
|
|
|
|
|
|
|
{% elif atl_cluster_type == 'multicast' %}
|
|
|
|
<property name="confluence.cluster.address">{{ atl_cluster_address }}</property>
|
|
|
|
<property name="confluence.cluster.ttl">{{ atl_cluster_ttl }}</property>
|
|
|
|
|
2019-08-12 23:52:18 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
2019-08-12 23:03:57 +00:00
|
|
|
|
2020-09-06 19:32:51 +00:00
|
|
|
{% if atl_license_key is defined %}
|
|
|
|
<property name="atlassian.license.message">{{ atl_license_key }}</property>
|
|
|
|
{% endif %}
|
|
|
|
|
2019-08-12 23:03:57 +00:00
|
|
|
</properties>
|
|
|
|
</confluence-configuration>
|