内容简介:Knowage is the professional open source suite for modern business analytics over traditional sources and big data systems.
Knowage is the professional open source suite for modern business analytics over traditional sources and big data systems.
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默认字符集
[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
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
访问。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。