You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd /atlassian/application-data/confluence
mkdir index/conow
# 页面配置的时候,在共享目录栏中输入:/var/atlassian/application-data/confluence/index/conow
复制代码
配置 MySQL
# 进入MySQL容器
docker-compose exec mysql-atlassian bash
# 进入mysql
> mysql -uroot -p
> 输入刚才启动服务时候指定的MYSQL_ROOT_PASSWORD密码
> use mysql
# 创建用户(启动容器命令中有写就可忽略)
> create user 'confluence'@'%' identified by '1qaz2wsx';
# 分配权限,允许远程访问
> GRANT ALL PRIVILEGES ON *.* TO 'confluence'@'%' WITH GRANT OPTION;
# 使修改生效
> flush privileges;
# 创建数据库
> create database wiki character set utf8 collate utf8_bin;
复制代码
Step-1. 制作破解镜像
在宿主机上新建相关目录及文件
在 Dockerfile 输入以下内容
制作镜像
Step-2. 准备 MySQL 相关文件
创建数据库配置文件
输入以下内容
Step-3. 配置 docker-compose.yml 启动文件
在 docker-compose.yml 输入以下内容
Step-4. 启动
运行服务后,在页面获取到 Server ID 再执行下面命令
配置集群节点
配置 MySQL
https://juejin.cn/post/6844903877154717710
The text was updated successfully, but these errors were encountered: