From 7c9177140675fba1702baf51cb0cd1b5da5af3a2 Mon Sep 17 00:00:00 2001 From: Yifei Zhang Date: Thu, 28 Sep 2023 16:44:29 +1000 Subject: [PATCH] DCCLIP-586: Document different approaches for clustered and non-clustered Confluence deployment. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2f5b3f3..f0da3e5 100644 --- a/README.md +++ b/README.md @@ -242,9 +242,12 @@ Depending on the secret class, the value of `ATL_JDBC_PASSWORD` will differ. Def Starting from 8.6 [AWS SecretsManager](https://confluence.atlassian.com/confeap/configuring-confluence-with-aws-secrets-manager-1283687663.html) is supported. +For non-clustered Confluence, manually edit `jdbc.password.decrypter.classname` and `hibernate.connection.password` properties as instructed by step 5 of official [documentation](https://confluence.atlassian.com/confeap/configuring-confluence-with-aws-secrets-manager-1283687663.html), then restart container. + +For clustered Confluence, set this property while making sure environment variables in [cluster configuration](#cluster-configuration) are kept intact as well. Example: - docker run -v /data/your-confluence-home:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 -e ATL_JDBC_SECRET_CLASS='com.atlassian.secrets.store.aws.AwsSecretsManagerStore' -e ATL_JDBC_PASSWORD='{"region": "us-east-1", "secretId": "mysecret", "secretPointer": "password"}' atlassian/confluence + docker run -v /data/your-confluence-home:/var/atlassian/application-data/confluence --name="confluence" -d -p 8090:8090 -p 8091:8091 -e ATL_JDBC_SECRET_CLASS='com.atlassian.secrets.store.aws.AwsSecretsManagerStore' -e ATL_JDBC_PASSWORD='{"region": "us-east-1", "secretId": "mysecret", "secretPointer": "password"}' -e ATL_CLUSTER_RELATED_VARIABLES='variable-value' -e atlassian/confluence The following variables are for the database connection pool, and are