Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence docker - cluster node name

Dan Koester January 15, 2020

Confluence-server docker - https://hub.docker.com/r/atlassian/confluence-server


Atlassian - Is it currently possible or can you make it possible to set the node name for Confluence when running in a cluster using your official Confluence docker image?

I do not see a way to currently set the confluence.cluster.node.name system property other than changing the config file and creating my own container.

Thanks for any feedback!

Dan

1 answer

1 accepted

0 votes
Answer accepted
Dave Chevell
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 19, 2020

Hey Dan!

This (and other) system properties can all be set via JVM arguments. All of our products' Docker images have a built-in way to specifcy JVM args, which is to supply the `JVM_SUPPORT_RECOMMENDED_ARGS` environment variable.

For example:

docker run -d \
--name connie_1 \
-p 8090:8090 \
-e JVM_SUPPORT_RECOMMENDED_ARGS=-Dconfluence.cluster.node.name="BattlestarGalactica" \
atlassian/confluence-server:latest

This and any other valid property documented at https://confluence.atlassian.com/doc/recognized-system-properties-190430.html can be set in the same way. I hope that helps!

Cheers,
Dave

Dan Koester January 21, 2020

Thanks, Dave!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events