Skip to content

Instantly share code, notes, and snippets.

@ronech
Created September 26, 2018 22:03
Show Gist options
  • Save ronech/e7fd320f4c13eb614a611083fe741cff to your computer and use it in GitHub Desktop.
Save ronech/e7fd320f4c13eb614a611083fe741cff to your computer and use it in GitHub Desktop.
EPP template for confluence.cfg.xml
<%- |
Integer $build_number,
Hash[String,Variant[Integer,String]] $properties,
| -%>
<?xml version="1.0" encoding="UTF-8"?>
<confluence-configuration>
<setupStep>complete</setupStep>
<setupType>custom</setupType>
<buildNumber><%= $build_number %></buildNumber>
<properties>
<property name="admin.ui.allow.daily.backup.custom.location">false</property>
<property name="admin.ui.allow.manual.backup.download">false</property>
<property name="admin.ui.allow.site.support.email">false</property>
<property name="atlassian.license.message"><%= $properties['atlassian.license.message'] %></property>
<property name="attachments.dir">${confluenceHome}/attachments</property>
<property name="confluence.setup.server.id"><%= $properties['confluence.setup.server.id'] %></property>
<property name="confluence.webapp.context.path"></property>
<property name="hibernate.c3p0.acquire_increment">1</property>
<property name="hibernate.c3p0.idle_test_period">100</property>
<property name="hibernate.c3p0.max_size"><%= $properties['hibernate.c3p0.max_size'] %></property>
<property name="hibernate.c3p0.max_statements">0</property>
<property name="hibernate.c3p0.min_size"><%= $properties['hibernate.c3p0.min_size'] %></property>
<property name="hibernate.c3p0.timeout">30</property>
<property name="hibernate.connection.driver_class">org.postgresql.Driver</property>
<property name="hibernate.connection.isolation">2</property>
<property name="hibernate.connection.password"><%= $properties['hibernate.connection.password'] %></property>
<property name="hibernate.connection.url"><%= $properties['hibernate.connection.url'] %></property>
<property name="hibernate.connection.username">confluence</property>
<property name="hibernate.database.lower_non_ascii_supported">true</property>
<property name="hibernate.dialect"><%= $properties['hibernate.dialect'] %></property>
<property name="hibernate.schema_management_tool">com.atlassian.confluence.impl.hibernate.ConfluenceHibernateSchemaManagementTool</property>
<property name="hibernate.setup">true</property>
<property name="jwt.private.key"><%= $properties['jwt.private.key'] %></property>
<property name="jwt.public.key"><%= $properties['jwt.public.key'] %></property>
<property name="lucene.index.dir">${localHome}/index</property>
<property name="setup.hasSelectedBundle">true</property>
<property name="synchrony.btf">true</property>
<property name="synchrony.encryption.disabled">true</property>
<property name="synchrony.proxy.enabled">true</property>
<property name="webwork.multipart.saveDir">${localHome}/temp</property>
</properties>
</confluence-configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment