标签:用户 链接 虚拟机 detail 管理员 ddr get 官网 最新
现状
解决方案
docker pull cptactionhank/atlassian-jira-software docker pull mysql:5.7
2.启动mysql docker实例
docker run --name atlassian-mysql --restart always -p 3306:3306 -v /opt/mysql_data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=123456 -d mysql:5.7 #记得修改passwd
3.连接mysql
docker run -it --link atlassian-mysql:mysql --rm mysql:5.7 sh -c ‘exec mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"‘
4.创建jira数据库,并添加jira用户 【mysql操作台执行】
create database jira default character set utf8 collate utf8_bin; CREATE USER `jira`@`%` IDENTIFIED BY ‘jira‘;GRANT ALL ON *.* TO `jira`@`%` WITH GRANT OPTION; alter user ‘jira‘@‘%‘ identified with mysql_native_password by ‘jira‘;
5.修改mysql事物隔离级别 【mysql操作台执行】
set global transaction isolation level read committed; set session transaction isolation level read committed;
6.启动jira实例
docker run --detach --restart always -v /data/atlassian/confluence:/home --publish 8080:8080 cptactionhank/atlassian-jira-software
参考文章链接:
基于Docker安装破解版Jira(无坑)https://www.clxz.top/2019/05/30/114432/
Docker实践--搭建JIRA平台:https://www.cnblogs.com/aeip/p/9481612.html
http://www.cnblogs.com/kevingrace/p/7607442.html
http://wuyijun.cn/shi-yong-dockerfang-shi-an-zhuang-he-yun-xing-confluence/
http://blog.csdn.net/taylor_tao/article/details/7063639
标签:用户 链接 虚拟机 detail 管理员 ddr get 官网 最新
原文地址:https://www.cnblogs.com/yangchangsong/p/11369403.html