Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,360,222
Community Members
 
Community Events
168
Community Groups

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

4 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

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

Hi @[deleted] 

Welcome!!

It was a starter template that I used when learning!!, surely I will upload the new one soon with Data Center Architecture

Like André K_ likes this

Comment

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

Watch 4 Confluence apps compete for Best App Demo in September's Appy Hours

Calling all collaborators! Appy Hours on the Atlassian Community is a monthly event where 4 Partner and app vendor presenters go head-to-head with 5-minute demos for the title of Best App Demo. I...

528 views 0 12
Read article

Atlassian Community Events