Auto build docker image for zentao(禅道),include open source edition and pro edition.
DockerHub:https://hub.docker.com/r/idoop/zentao/
Office Support:http://www.zentao.net/
Open soure edition
11.5.1
,latest
11.4.1
11.3
10.0
,10.1
,10.3
,10.4
,10.5
,10.6
9.6.3
,9.7
,9.8
,9.8.3
Pro edition
pro-8.4
,pro
pro-8.3
pro-8.2
pro-7.1
,pro-7.3
,pro-7.5.1
pro-6.7.3
open soure edition:
mkdir -p /data/zbox && \
docker run -d -p 80:80 -p 3306:3306 \
-e ADMINER_USER="root" -e ADMINER_PASSWD="password" \
-e BIND_ADDRESS="false" \
-v /data/zbox/:/opt/zbox/ \
--add-host smtp.exmail.qq.com:163.177.90.125 \
--name zentao-server \
idoop/zentao:latest
pro edition:
mkdir -p /data/zbox && \
docker run -d -p 80:80 -p 3306:3306 \
-e USER="root" -e PASSWD="password" \
-e BIND_ADDRESS="false" \
-v /data/zbox/:/opt/zbox/ \
--add-host smtp.exmail.qq.com:163.177.90.125 \
--name zentao-server-pro \
idoop/zentao:pro
Note: Make sure your Host feed available on either port 80
or 3306
.
ADMINER_USER
: set the web login database Adminer account.ADMINER_PASSWD
: set the web login database Adminer password.BIND_ADDRESS
: if set value with false
,the MySQL server will not bind address.SMTP_HOST
: set the smtp server IP and host.(If can't send mail,it will be helpful.) Can also use extra_host
in docker-compose.yaml,or use param --add-host
when use dokcer run
command.Note: The Zentao administrator account is admin,and default initialization password is 123456. And MySQL root account password is 123456,please change password when you first login.
If you want upgrade the zentao version, just run a container with the latest docker image and mount the same zbox path
$volume/zbox/
.
# stop and backup old container
docker stop zentao-server
docker rename zentao-server zentao-server-bak
# backup zbox
cp -r /data/zbox /data/zbox-bak
# pull the latest image
docker pull idoop/zentao:latest
# run new container with the latest image and mount the same path
docker run -d -p 80:80 -p 3306:3306 \
-e ADMINER_USER="root" -e ADMINER_PASSWD="password" \
-e BIND_ADDRESS="false" \
-v /data/zbox/:/opt/zbox/ \
--add-host smtp.exmail.qq.com:163.177.90.125 \
--name zentao-server \
idoop/zentao:latest
docker logs -f zentao-server
You will see the upgrading process logs like following.
Installed Zentao version: 11.0
New Zentao version: 11.4
Backuping config/my.php and upload ...
Upgrading Zentao ...
Restoring config/my.php and upload ...
Upgraded Zentao version to: 11.4
Please visit your Zentao website to complete the upgrade task.
ZBOX是Apache、Mysql、PHP的精简的集成环境。使用时,需要将其解压到/opt目录。
/opt/zbox/zbox -h 可以获取帮助
/opt/zbox/zbox start 启动脚本
Mysql 用户名root,密码为123456。
更多可以访问http://www.zentao.net/goto.php?item=zbox.
Start Apache success
Start Mysql success
Start xxd success
Wait until Start xxd success
, visit your zentao website to complete the upgrade task step by step.
After you complete the upgrade task in your zentao website and confirm everything looks good, delete the backups to save your disk space.docker rm -f zentao-server-bak && rm -rf /data/zbox-bak
Clone this repo, modify Dockerfile
or docker-entrypoint
if you want.
Then execute the following command:
docker build -t zentao .
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。