● dataease.service - DataEase Service
Loaded: loaded (/etc/systemd/system/dataease.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2025-01-21 20:50:35 CST; 1min 2s ago
Process: 2114785 ExecStart=/usr/bin/dectl start (code=exited, status=1/FAILURE)
Main PID: 2114785 (code=exited, status=1/FAILURE)
Jan 21 20:49:41 sysom dectl[2114810]: Network dataease20_dataease-network Created
Jan 21 20:49:41 sysom dectl[2114810]: Container dataease Creating
Jan 21 20:49:44 sysom dectl[2114810]: Container dataease Created
Jan 21 20:49:44 sysom dectl[2114810]: Container dataease Starting
Jan 21 20:49:46 sysom dectl[2114810]: Container dataease Started
Jan 21 20:50:35 sysom dectl[2114785]: [2.0K blob data]
Jan 21 20:50:35 sysom dectl[2114785]: DataEase 服务状态 : 无法访问
Jan 21 20:50:35 sysom systemd[1]: dataease.service: Main process exited, code=exited, status=1/FAILURE
Jan 21 20:50:35 sysom systemd[1]: dataease.service: Failed with result ‘exit-code’.
Jan 21 20:50:35 sysom systemd[1]: Failed to start DataEase Service.
使用的是外部的数据库,是不是这样调整
是否使用外部数据库
DE_EXTERNAL_MYSQL=ture
数据库地址
DE_MYSQL_HOST=mysql
数据库端口 (仅使用外部数据库时才生效)
DE_MYSQL_PORT=3306
DataEase 数据库库名
DE_MYSQL_DB=dataease
数据库用户名
DE_MYSQL_USER=root
数据库密码,密码如包含特殊字符,请用双引号引起来,例如 DE_MYSQL_PASSWORD=“Test@4&^%*^”
DE_MYSQL_PASSWORD=Admin@123456