1 Star 1 Fork 0

我为自己代言 / zentao

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Unlicense

Docker Image for Zentao

Docker Build Status Docker Pulls Docker Automated build ImageLayers Size ImageLayers Layers

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/

Tags

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

QuickStart

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.

Environment configuration

  • 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.

Upgrade Version

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

See Detail

Building the image

Clone this repo, modify Dockerfile or docker-entrypoint if you want. Then execute the following command:

docker build -t zentao .
This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org>

简介

auto build docker image for zentao(禅道). 展开 收起
Shell
Unlicense
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/dsym/zentao.git
git@gitee.com:dsym/zentao.git
dsym
zentao
zentao
master

搜索帮助