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

Angel Ruiz
Contributor
January 1, 2022

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 4, 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

Deleted user January 22, 2022

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
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 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
AUG Leaders

Atlassian Community Events