Docker 安装 禅道-21.2版本-外部数据库模式

Docker 安装系列

1、拉取最新版本(zentao 21.2)

[root@Tseng ~]# docker pull hub.zentao.net/app/zentao
Using default tag: latest
latest: Pulling from app/zentao
55ab1b300d4b: Pull complete 
6b5749e5ef1d: Pull complete 
bdccb03403c1: Pull complete 
cbb6b800982e: Pull complete 
1a8185613525: Pull complete 
5a3dfd58e1ad: Pull complete 
11b4bf7c5ebb: Pull complete 
d15bee56465f: Pull complete 
a43092a20eb7: Pull complete 
7e69c36554de: Pull complete 
4f4fb700ef54: Pull complete 
dc9136a852dd: Pull complete 
ba485d82a684: Pull complete 
017315dcbb02: Pull complete 
f748dc149615: Pull complete 
ce2b53f47bc2: Pull complete 
545c7148cfc8: Pull complete 
17b02c00982e: Pull complete 
cf49f2c937e1: Pull complete 
ff2a75725680: Pull complete 
0ab1c4ad8d42: Pull complete 
6a2b68daf235: Pull complete 
Digest: sha256:d0738bf9fb821d9e4b741cf4d8e614bfa71a883596b8fb4084bdb72d4dd3d43d
Status: Downloaded newer image for hub.zentao.net/app/zentao:latest
[root@Tseng ~]#

2、创建数据库

3、启动容器

[root@Tseng data]# docker run -d --name zentao -e ZT_MYSQL_HOST=192.168.2.81 -e ZT_MYSQL_PORT=3308 -e ZT_MYSQL_USER=root -e ZT_MYSQL_PASSWORD=Hv123456 -e ZT_MYSQL_DB=zentao -v /data/zentao:/data -p 8088:80 hub.zentao.net/app/zentao:latest
c3fc8df145d47f2b32a427bb8103ee69ec5fb035955ba68fedbd48b4330ae19e
[root@Tseng data]# docker logs c3fc
 15:16:49.25 
 15:16:49.25 Welcome to the Easysoft ZenTao 21.2 container
 15:16:49.25 Subscribe to project updates by watching https://www.zentao.net
 15:16:49.25 Submit issues and feature requests at https://www.zentao.net/ask.html
 15:16:49.25 
 15:16:49.26 INFO  ==> Prepare persistence directories.
 15:16:49.35 INFO  ==> Render php.ini with environment variables.
 15:16:49.35 INFO  ==> Check zentao data owner...
 15:16:49.35 INFO  ==> Render apache sites config with envionment variables.
 15:16:49.36 INFO  ==> Prepare custom extensions.
 15:16:49.37 INFO  ==> Check whether the MySQL is available.
 15:16:49.37 INFO  ==> Check whether the Apache is available.
 15:16:50.37 INFO  ==> Apache: MySQL is ready.
 15:16:50.38 WARN  ==> Sentry: Waiting Apache 1 seconds
[Fri Dec 20 15:16:50.435795 2024] [mpm_prefork:notice] [pid 159:tid 159] AH00163: Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips SVN/1.14.3 configured -- resuming normal operations
[Fri Dec 20 15:16:50.435847 2024] [core:notice] [pid 159:tid 159] AH00094: Command line: '/opt/zbox/run/apache/httpd -D FOREGROUND'
 15:16:52.38 INFO  ==> Sentry: Apache is ready.
 15:16:52.38 INFO  ==> The service has been started. Open your browser to access the specified domain or ip:port to complete the installation wizard
 15:16:52.38 INFO  ==> 服务已启动完成, 请使用浏览器访问设置的域名或ip:port, 继续完成后续安装向导
 15:16:53.39 INFO  ==> The service has been started. Open your browser to access the specified domain or ip:port to complete the installation wizard
 15:16:53.39 INFO  ==> 服务已启动完成, 请使用浏览器访问设置的域名或ip:port, 继续完成后续安装向导
 15:16:56.39 INFO  ==> The service has been started. Open your browser to access the specified domain or ip:port to complete the installation wizard
 15:16:56.39 INFO  ==> 服务已启动完成, 请使用浏览器访问设置的域名或ip:port, 继续完成后续安装向导
[root@Tseng data]#

相关推荐
likfishdn6 分钟前
Linux的文件与目录管理
linux·运维·服务器
chian-ocean26 分钟前
Linux 文件缓冲区:高效数据访问的幕后推手
linux·运维·服务器
加油=^_^=28 分钟前
【Linux】进程优先级 | 进程调度(三)
linux·运维·服务器
Dontla1 小时前
Docker run --add-host参数解析(在容器启动时向/etc/hosts文件中添加自定义的主机名与IP映射)(适用于临时调试或测试)
tcp/ip·docker·容器
西西小飞龙1 小时前
Docker和K8S中pod、services、container的介绍和关系
docker·容器·kubernetes
元气满满的热码式1 小时前
Docker数据卷操作实战
linux·运维·docker·云原生·容器
kngines1 小时前
【实战 ES】实战 Elasticsearch:快速上手与深度实践-1.3.1单节点安装(Docker与手动部署)
大数据·elasticsearch·docker
北京耐用通信1 小时前
航空装配自动化神器Ethercat转profient网关搭配机器人精准控制
运维·机器人·自动化
吃汤圆的抹香鲸2 小时前
Rider 安装包 绿色版 Win/Mac/Linux 适合.NET和游戏开发者使用 2025全栈开发终极指南:从零配置到企业级实战
linux·运维·windows·sql·游戏·macos·.net
崔lc4 小时前
linux中安装部署Jenkins,成功构建springboot项目详细教程
运维·jenkins