The software in this article is tossed
不长到一百四誓不改名
at the request of ;
What is Jira?
Jira
is a software development toolAtlassian
developed to track and manage tasks, you can use it for agile and waterfall project management to track bugs, features, and other work items. You can alsoJIRA
configure it to work with many service management tools, making it a versatile tool for management tasks.
Precautions:
- On the small machine of Laosu
4M
memory , the execution time of each step is relatively long, and it may even fail, so it is recommended that the larger the memory, the better; - The software requires
License
that the temporary license is only90
for days , so if you want to use it all the time, you can consider buying a license;
Install
Install it in Docker mode on Synology.
Search in the registry jira-software
, select the first one atlassian/jira-software
, version selection latest
.
At the time of writing this article,
latest
the version corresponds to9.9
;
roll
Inside docker
the folder , create a new folder jira
with a subfolder inside itdata
folder | mount path | illustrate |
---|---|---|
docker/jira/data |
/var/atlassian/application-data/jira |
storage database etc. |
port
It is fine if the local port does not conflict. If you are not sure, you can check it with the command
# 查看端口占用
netstat -tunlp | grep 端口号
local port | container port |
---|---|
8336 |
8080 |
environment
variable | value |
---|---|
JVM_MINIMUM_MEMORY |
JVM The minimum memory size of , set to384m |
JVM_MAXIMUM_MEMORY |
JVM The maximum memory size of , set to768m |
JVM_RESERVED_CODE_CACHE_SIZE |
JVM Reserved code cache size, set to512m |
The reason why these environment variables are set is because of fear of memory explosion. If it is not the same as Lao Su, the machine has only memory 4M
, and it should be possible to not set environment variables.
command line installation
If you are familiar with the command line, it may be docker cli
faster
# 新建文件夹 jira 和 子目录
mkdir -p /volume2/docker/jira/data
# 进入 jira 目录
cd /volume2/docker/jira
# 运行容器
docker run -d \
--restart unless-stopped \
--name jira \
-p 8336:8080 \
-v $(pwd)/data:/var/atlassian/application-data/jira \
-e JVM_MINIMUM_MEMORY=384m \
-e JVM_MAXIMUM_MEMORY=768m \
-e JVM_RESERVED_CODE_CACHE_SIZE=512m \
atlassian/jira-software
You can also use docker-compose
the installation , save the following content as docker-compose.yml
a file
version: '3'
services:
jira:
image: atlassian/jira-software
container_name: jira
restart: unless-stopped
ports:
- 8336:8080
volumes:
- ./data:/var/atlassian/application-data/jira
environment:
- JVM_MINIMUM_MEMORY=384m
- JVM_MAXIMUM_MEMORY=768m
- JVM_RESERVED_CODE_CACHE_SIZE=512m
Then execute the following command
# 新建文件夹 jira 和 子目录
mkdir -p /volume2/docker/jira/data
# 进入 jira 目录
cd /volume2/docker/jira
# 将 docker-compose.yml 放入当前目录
# 一键启动
docker-compose up -d
After all, it was java
developed , and it only CPU
took up a lot of space at the beginning
The memory will also go up later
run
It takes a long time to start up, be patient
Enter in the browser http://群晖IP:8336
to see the startup interface
After the startup is complete, you will see the setting interface
Language
Select 中文(中国)
and save
choose我将设置它自己
Built-in database selected
It can take a little while to set up
It may be downloadingplugins
Set the program properties. If you want to use it on the public network, 基本 URL
you need to change it to the domain name
need to uselicense
Click below the box 生成jira试用许可证
to go to atlassian
the official website to apply for 90
a 1-day triallicense
【Note】: license
It is 基本 URL
bound
will automatically fill in the license
set administrator
If you set up email notifications, Lao Su chose以后再说
point完成
After a while, you will see the welcome screen
Set Avatar
choose a different option
Lao Su chose创建示例项目
view project
Log out and then back in, log in required
Jira
There are many tutorials on the Internet, but if you don’t buy it license
, you can only try it for 90
a few days
reference documents
Jira | Issue and Project Tracking Software | Atlassian
Address: https://www.atlassian.com/zh/software/jira
Building Jira from source
address: https://developer.atlassian.com/server/jira/platform/building-jira-from-source/
atlassian/jira-software - Docker Image | Docker Hub
address: https://registry.hub.docker.com/r/atlassian/jira-software/