Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Deployment using Docker Compose

Hello Community,

How often have you thought to deploy the Confluence Server using Docker Image?

Here's a quickstart template that will get you started with implementing the Confluence deployment using Docker Compose.

version: '3'

services:
postgresql:
image: postgres:11
environment:
POSTGRES_DB: confdb
POSTGRES_USER: confdb
POSTGRES_PASSWORD: confdb
ports:
- '5432:5432'
volumes:
- 'pgdataconf:/var/lib/postgresql/data'
networks:
confnetwork:
ipv4_address: 10.0.0.4

confluence-server:
depends_on:
- postgresql
image: atlassian/confluence:7.13.0
ports:
- '8090:8090'
- '8091:8091'
volumes:
- 'conf-home:/var/atlassian/application-data/confluence'
environment:
ATL_JDBC_URL: jdbc:postgresql://10.0.0.4:5432/confdb
ATL_JDBC_USER: confdb
ATL_JDBC_PASSWORD: confdb
ATL_DB_TYPE: postgresql
ATL_DB_DRIVER: org.postgresql.Driver
ATL_DB_SCHEMA_NAME: public
networks:
confnetwork:
ipv4_address: 10.0.0.5

volumes:
pgdataconf: {}
conf-home: {}

networks:
confnetwork:
driver: bridge
ipam:
driver: default
config:
- subnet: 10.0.0.0/24

We'll build upon this template to create multiple nodes with Docker Swarm and managed Kubernetes Cluster in future articles.

Please collaborate in below link if you have anything in mind

https://github.com/pramodhm112/confluence-docker-compose

For now adios amigos!!

Thanks,
Pramodh

3 comments

Please have a look at this related repo and let me know what you think: https://github.com/aruizca/docker-confluence-for-testing

Thanks!

Like Pramodh M likes this
Pramodh M Community Leader Jan 04, 2022

@Angel Ruiz 

I tested this and some parameters need to be changed in order to have this properly working for the latest version. Thanks for the link. I will improve the YAML file using the one which I have right now

Thanks,
Pramodh

Hey! thanks so much for the file. 
Nevertheless i was wondering why you did subnetting, using only a /24 net, and assigning static ip? 
isn't the FQDN provided by the services enough? 
thanks in any case and thanks for the great job.
Best regards

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

40,243 views 28 128
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you