Docker环境安装Knowage


What is Knowage?

Knowage is the professional open source suite for modern business analytics over traditional sources and big data systems.

knowage-suite.com

Docker Compose 部署Mysql 及Knowage

Knowage-server-docker 镜像:https://hub.docker.com/r/knowagelabs/knowage-server-docker

获取官方镜像

docker pull knowagelabs/knowage-server-docker

docker pull mysql:5.6.38

修改mysql默认字符集

1
2
3
4
5
6
[root@master mysql]# cat Dockerfile 
FROM mysql:5.6.38

MAINTAINER kavenran <ranyut@163.com>

RUN sed -i "s|\[mysql\]|[mysql]\ndefault-character-set=utf8\n[mysqld]\ncharacter-set-server=utf8\nlower_case_table_names=1|g" /etc/mysql/conf.d/mysql.cnf

覆盖原镜像:

docker build -t mysql:5.6.38 .

创建docker-compose.yml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
knowage:
image: knowagelabs/knowage-server-docker:6.1.1
links:
- knowagedb:db
ports:
- "8080:8080"
environment:
- WAIT_MYSQL=true
- PUBLIC_ADDRESS=bi.x

knowagedb:
image: mysql:5.6.38
environment:
- MYSQL_USER=user
- MYSQL_PASSWORD=password
- MYSQL_DATABASE=knowagedb
- MYSQL_ROOT_PASSWORD=rootpassword

执行:docker-compose up

最后再分别启动mysql及knowage即可。

可通过http://$PUBLIC_ADDRESS:8080/knowage 访问。


文章作者: KavenRan
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 KavenRan !
 上一篇
Kubernetes环境部署Knowage Kubernetes环境部署Knowage
本文说明在Kubernetes环境部署mysql-5.6.38及Knowage,前提打镜像及docker直接部署过程见另一文章: Docker环境安装Knowage
2019-02-24
下一篇 
Knowage汉化-全界面中文支持 Knowage汉化-全界面中文支持
Knowage是支持国际化的,并从6.1.1版本开始提供了中文资源mesge.zh_CN。特别感谢 @y-zh 贡献的Merge Request。但是,在发布的6.2,6.3安装文件中并没有包含这些文件,原因不得而知。 安装程序下载
2019-01-25
  目录