castled 运行试用

castled 官方直接提供了docker-compose 一键运行

环境运行

  • docker-compose
git clone https://github.com/castledio/castled.git
cd castled
docker-compose up -d 
  • pg 准备
docker run -d -p 5432:5432 -e POSTGRES_PASSWORD=dalong postgres:14.0
  • rest api server
docker run -p  80:80 -d kennethreitz/httpbin
  • 权限分配
    可以参考官方文档
 
-----------------------------------USER CREATON STARTS-------------------------------------------------------
Create a new user CASTLED for connecting to postgres DB
CREATE USER CASTLED WITH PASSWORD 'dalongdemoapp';
-----------------------------------USER CREATON ENDS----------------------------------------------------------
 
 
-----------------------------------BOOK KEEPING SCHEMA ACCESS STARTS------------------------------------------
-- Create a private bookkeeping schema for storing sync data
CREATE SCHEMA CASTLED;
 
-- Give the CASTLED user full access to the bookkeeping schema
GRANT ALL ON SCHEMA CASTLED TO CASTLED;
 
-- Give CASTLED user access to all objects existing n the bookkeeping schema
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA CASTLED TO CASTLED;
 
 
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA PUBLIC TO CASTLED;

试用效果

地址 http://localhost:3000

  • ui

 

 

  • 创建pipeline

data warehouse

 

 


 

 


 

 

说明

目前官方云端的以及开源版本基本都是一样的,可以使用了kafka,mysql,redis等中间件,代码还是很值得学习下的

参考资料

https://docs.castled.io/getting-started/Sources/configure-postgres
https://github.com/castledio/castled

posted on   荣锋亮  阅读(61)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2021-01-03 一些声明式可视化库
2021-01-03 vega 一个数据可视化语法指南
2021-01-03 python 可视化包streamlit学习
2021-01-03 django 多数据源配置
2020-01-03 java 应用使用jfr+sjk 生成应用火焰图
2020-01-03 使用btrace 分析java 应用
2020-01-03 vigil监控以及webhook使用

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示