Record a docker based platform to build jira practice

Background : The project needs to select a different test platforms, the best platform for a screening

Status : A machine installation sets the environment, a virtual machine too cumbersome

Solution : mounting measured by simulated environment Docker

1.pull docker Mirror: jira: 7.11.1 (the latest version) mysql: 5.7

docker pull cptactionhank/atlassian-jira-software
docker pull mysql:5.7

2. Start mysql docker examples

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. Connect 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. Create a database jira, jira and add user mysql console [Executive]

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. Modify things mysql mysql console isolation level [Executive]

set global transaction isolation level read committed;
set session transaction isolation level read committed;

 

6. Start jira examples

docker run --detach --restart always -v  /data/atlassian/confluence:/home --publish 8080:8080  cptactionhank/atlassian-jira-software

 

7. Access: 192.168.xx: 8080 jira be configured.

Configuration process:

 

Click the language, the language is set to "Simplified Chinese":

 

And then select "I will set up his own" (I'll set it up myself), that is set manually:

See above password jira user's password: jira, select "Test Connection" to verify the configuration is correct, click "Next" to enter the setup application properties:

Next set up the license:

 

Official website registered account registration, generate a license

 

Setting administrator account

 

Configuration as shown below:

http://192.168.199.176:8080/secure/WelcomeToJIRA.jspa


 

 

Reference article link:

Based Docker install cracked version Jira (no pit) 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

https://www.cnblogs.com/zhmiao/p/10620903.html 

 

Guess you like

Origin www.cnblogs.com/yangchangsong/p/11369403.html