Docker环境安装Knowage

栏目: 数据库 · 发布时间: 6年前

内容简介:Knowage is the professional open source suite for modern business analytics over traditional sources and big data systems.

Docker环境安装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默认字符集

[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 访问。


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Learning PHP, MySQL, and JavaScript

Learning PHP, MySQL, and JavaScript

Robin Nixon / O'Reilly Media / 2009-7-21 / USD 39.99

Learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript - whether or not you know how to program. This simple, streamlined guide explains how the powerful combination of P......一起来看看 《Learning PHP, MySQL, and JavaScript》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具