Complete steps for deploying confluence with docker

Complete steps for deploying confluence with docker

Confluence is paid, but it can be cracked for use (purchase is recommended, and genuine versions are supported)

The image used in this article is packaged based on others (image & cracking). The image in this article directly puts the cracked file into the container, eliminating the need to fiddle with the cracked jar package file yourself. It can be accessed after the container is deployed and started.

Please follow the steps below for the whole process:

1. Database creation

First create the file /opt/soft/mysql8-confluence/conf.d/custom.cnf with the following content:

[mysqld]
default-authentication-plugin=mysql_native_password
lower-case-table-names=1
skip-name-resolve
#skip-grant-tables
max_connections=1000
max_user_connections=850
max_connect_errors=1000
max_allowed_packet=100M
innodb_log_file_size=256M

If you already have a MySQL database, you can skip this step.

For ease of use and portability, this article uses docker-compose to create a MySQL database (version 8.0), as follows

version: '3.7'
services:
  mysql8-confluence:
    image: harbor.goodcol.com:81/gukesoft/mysql8:8.0.16
    container_name: mysql8-confluence
    ports:
      - 3308:3306
    volumes:
      - /opt/soft/mysql8-confluence/conf.d:/etc/mysql/conf.d
      - /opt/soft/mysql8-confluence/data:/var/lib/mysql
    security_opt: 
      -seccomp:unconfined
    environment:
      TZ: Asia/Shanghai
      MYSQL_ROOT_PASSWORD: 'root123456'
    command: --default-authentication-plugin=mysql_native_password --lower-case-table-names=1

Use the tool to connect to the database. First, create a database named confluence (note that the character set is utf8mb4 and the collation is utf8mb4_bin ), and then configure the isolation level of the database (this is the requirement of confluence), as follows:

set global transaction isolation level read committed;
select @@global.transaction_isolation;

2. Start the confluence container

As above, it is still deployed based on docker-compose, the content is as follows:

version: '3.7'
services:
  confluence:
    image: xzxiaoshan/confluence-agented:7.9.3
    container_name: confluence
    environment:
      TZ: Asia/Shanghai
    ports:
      -8090:8090
    volumes:
      - /opt/confluence:/var/atlassian/confluence

3. Access confluence to configure and crack

Open the browser to http://192.168.1.129:8090 (use your own IP here), and then follow the steps below:

insert image description here

If you need to modify the database connection information, you can modify it in the /opt/confluence/confluence.cfg.xml file, and then restart the service. Note that the parameter used in the database url connection is utf8, not utf8mb4.
useUnicode=true&characterEncoding=utf8 in the url is to avoid the problem of Chinese garbled characters. When modifying the url in the xml file, please note that the & symbol should be &

Appendix: For details of the built-in cracked agent, see (https://gitee.com/pengzhile/atlassian-agent)

The above is the detailed content of the complete steps of Docker deployment of Confluence. For more information about Docker deployment of Confluence, please pay attention to other related articles on 123WORDPRESS.COM!

You may also be interested in:
  • Implementation steps for docker deployment of springboot and vue projects
  • How to deploy MongoDB container with Docker
  • Detailed process of installing and deploying onlyoffice in docker
  • How to deploy code-server using docker

<<:  Solve the problem of using less in Vue

>>:  Understanding MySQL clustered indexes and how clustered indexes grow

Recommend

A brief talk about JavaScript Sandbox

Preface: Speaking of sandboxes, our minds may ref...

How to implement dual-machine master and backup with Nginx+Keepalived

Preface First, let me introduce Keepalived, which...

Linux kernel device driver kernel time management notes

/****************** * Linux kernel time managemen...

JavaScript implements checkbox selection function

This article example shares the specific code of ...

Web Design Experience

<br />The author used to be a novice in web ...

Tutorial on using the hyperlink tag in HTML

The various HTML documents of the website are con...

Specific use of CSS front-end page rendering optimization attribute will-change

Preface When scroll events such as scroll and res...

Angular environment construction and simple experience summary

Introduction to Angular Angular is an open source...

Steps to enable TLS in Docker for secure configuration

Preface I had previously enabled Docker's 237...

IDEA2021 tomcat10 servlet newer version pitfalls

Because the version I used when I was learning wa...

React Hooks Usage Examples

Table of contents A simple component example More...

Learn MySQL in a simple way

Preface The database has always been my weak poin...

VUE+Canvas implements the sample code of the desktop pinball brick-breaking game

Everyone has played the pinball and brick-breakin...

How to set the width attribute to the style of the span tag

If you directly set the width attribute to the sty...

Vue uses mixins to optimize components

Table of contents Mixins implementation Hook func...