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]#

相关推荐
G_whang1 小时前
centos7下docker 容器实现redis主从同步
redis·docker·容器
认真学习的小雅兰.1 小时前
如何在Ubuntu上利用Docker和Cpolar实现Excalidraw公网访问高效绘图——“cpolar内网穿透”
linux·ubuntu·docker
zhou周大哥1 小时前
linux 安装 ffmpeg 视频转换
linux·运维·服务器
the丶only2 小时前
单点登录平台Casdoor搭建与使用,集成gitlab同步创建删除账号
linux·运维·服务器·docker·gitlab
书生-w2 小时前
Docker部署GitLab服务器
服务器·docker·gitlab
塔克拉玛攻城狮2 小时前
私有网盘+在线文档:内网离线搭建NextCloud+OnlyOffice详细指南
docker·在线文档·网盘
ccubee3 小时前
docker 安装 ftp
运维·docker·容器
枫叶红花3 小时前
【Linux系统编程】:信号(2)——信号的产生
linux·运维·服务器
yaosheng_VALVE3 小时前
探究全金属硬密封蝶阀的奥秘-耀圣控制
运维·eclipse·自动化·pyqt·1024程序员节
dami_king3 小时前
SSH特性|组成|SSH是什么?
运维·ssh·1024程序员节