mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
DCD-545: Move fallback home vars to templates.
This commit is contained in:
parent
dfc0559d7a
commit
77f4b2bfd0
@ -1 +1 @@
|
||||
confluence.home = {{ atl_product_home }}
|
||||
confluence.home = {{ atl_product_home | default(confluence_home) | default('') }}
|
||||
|
@ -39,8 +39,8 @@
|
||||
{% if atl_cluster_type is defined %}
|
||||
<property name="confluence.cluster">true</property>
|
||||
<property name="confluence.cluster.name">{{ atl_cluster_name }}</property>
|
||||
<property name="confluence.cluster.home">{{ atl_product_home_shared }}</property>
|
||||
<property name="shared-home">{{ atl_product_home_shared }}</property>
|
||||
<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>
|
||||
|
||||
<property name="confluence.cluster.join.type">{{ atl_cluster_type }}</property>
|
||||
{% if atl_cluster_type == 'aws' %}
|
||||
|
@ -40,10 +40,6 @@ env = {k.lower(): v
|
||||
for k, v in os.environ.items()
|
||||
if k.startswith(('ATL_', 'CONFLUENCE_', 'RUN_', 'CATALINA_'))}
|
||||
|
||||
# For compatability with the Ansible templates.
|
||||
env['atl_product_home'] = env['confluence_home']
|
||||
env['atl_product_home_shared'] = env.get('confluence_shared_home')
|
||||
|
||||
|
||||
######################################################################
|
||||
# Generate all configuration files for Confluence
|
||||
|
Loading…
Reference in New Issue
Block a user