Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Beuterei/atlassian-confluence-server

Repository files navigation

Contributors Forks Stargazers Issues


Logo

atlassian/confluence-server

Docker setup for confluence-server

· Report Bug · Request Feature

About The Project

Small docker setup for confluence-server. The production environment also uses jwilder/nginx-proxy and nginx-proxy/docker-letsencrypt-nginx-proxy-companion.

Getting Started Develop

To get a local copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/beuluis/atlassian-confluence-server.git
  1. Start docker-compose
docker-compose up --build
  1. Navigate to localhost:8098
  2. Follow setup instructions

Customization

  1. Create a .env file
touch .env
  1. Overwrite variables as you like (format: {variable name}={variable value})
Variable Description Default value Required
CONFLUENCE_MEMORY Defines how much memory the container can use 4G false
CONFLUENCE_JVM_MINIMUM_MEMORY The minimum heap size of the JVM 1024m false
CONFLUENCE_JVM_MAXIMUM_MEMORY The maximum heap size of the JVM 1024m false
CONFLUENCE_JVM_RESERVED_CODE_CACHE_SIZE The reserved code cache size of the JVM 256m false
PORT Which port is mapped to your host machine 8098 false
PG_DB Postgres DB name atlassianConfluenceDev false
PG_USER Postgres user atlassianConfluenceDev false
PG_PASSWORD Postgres password 966VHT7SUcPnaqpJAz32fP false

Getting Started Production

To get a copy up and running follow these simple steps.

Prerequisites

Installation

  1. Clone the repo
git clone https://github.com/beuluis/atlassian-confluence-server.git --branch master
  1. Create a .env.prod file
touch .env.prod
  1. Overwrite all variables marked under Customization as required
  2. Start docker-compose
docker-compose --env-file ./.env.prod -f docker-compose.yml -f docker-compose.production.yml up -d
  1. Navigate to https://{your-host}
  2. Follow setup instructions

Customization

  1. Create a .env.prod file
touch .env.prod
  1. Overwrite variables as you like (format: {variable name}={variable value})
Variable Description Default value Required
PROXY_NETWORK_NAME Proxy network name nginxproxynet false
CONFLUENCE_MEMORY Defines how much memory the container can use 4G false
CONFLUENCE_JVM_MINIMUM_MEMORY The minimum heap size of the JVM 1024m false
CONFLUENCE_JVM_MAXIMUM_MEMORY The maximum heap size of the JVM 1024m false
CONFLUENCE_JVM_RESERVED_CODE_CACHE_SIZE The reserved code cache size of the JVM 256m false
HOST Host which your container should be accessible. E.g. test.com none true
PG_DB Postgres DB name atlassianConfluenceProd false
PG_USER Postgres user atlassianConfluenceProd false
PG_PASSWORD Postgres password none true

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Contact

Luis Beu - me@luisbeu.de