作为Unikernel运行MatterMost

2021-01-16 00:51:54

Warning: Can only detect less than 5000 characters

显然,这只是出于演示目的,但作为旁注-如果您不小心将其部署到具有默认凭据的公共ip上,那些在互联网上寻找这些东西的机器人将能够连接并编写其小机器人所希望的所有SQL,但是他们的db加密操作失败,cryptojacking失败,并且所有C& C内容均失败。它只是向您显示了这种建筑风格真正有趣的地方。

现在让我们加载最重要的东西,并给它自己的水龙头,并为其分配一个静态IP地址:

s ops load somethingmost_5.12.0 -c config.json -p 8065 -b -t tap1 --ip-address 192.168.42.20警告:覆盖现有文件/config/config.json主机路径旧:/home/eyberg/.ops/。登台/mattermost_5.12.0/sysroot/config/config.json新:config / config.json [mattermost -c config / config.json --disableconfigwatch]正在引导/home/eyberg/.ops/images/mattermost.img ...分配:192.168.42.20 {" level":" info"," ts":1610387180.047103," caller":" utils / i18n.go:83"," msg":"已加载' en'的系统翻译来自&#39 // i18n / en.json'"} {" level":" info"," ts":1610387180.0498981,& #34; caller":" app / server_app_adapters.go:58"," msg":"服务器正在初始化..."} {&# 34; level":" error"," ts":1610387180.0560362," caller":" app / server_app_adapters.go:69" ," msg":"无法解析未实现的服务器模板功能"} {" level":" info"," ts& #34;:1610387180.0593297," caller":" sqlstore / supplier.go:224"," msg":" Ping SQL master database" } {" level":" info",ts":1610387180.231293," caller":" sqlstore / upgrade.go: 104"," msg":"数据库架构已设置为版本5.12.0"} {" level":" error&#34 ;,&#34ts:#1610387204.4853191," caller":" app / server_app_adapters.go:125"," msg":"必须设置SiteURL。如果未设置SiteURL,则某些功能将无法正常使用。有关详细信息,请参见文档:http://about.mattermost.com/default-site-url"}{"level":"info"、"ts" ;:1610387204.5032592," caller":" filesstore / localstore.go:33"," msg":"能够将文件写入本地存储。 #34;} {" level":" info"," ts":1610387204.7344124," caller":" app / license .go:41"," msg":"解锁企业功能所需的https://mattermost.com的许可证密钥。"} {" level&#34 ;:" info"," ts":1610387204.982482," caller":" app / migrations.go:26"," msg":"将角色迁移到数据库。"} {" level":" info"," ts":1610387208.7359424,& #34; caller":" sqlstore / post_store.go:1277"," msg":" Post.Message最多支持16383个字符(65535字节)&# 34;} {" level":" info"," ts":1610387209.2314367," caller":" app / migrations。 go:102"," msg":"迁移表情符号配置t数据库。"} {" level":" info"," ts":1610387246.2326972," caller":&#34 ; mlog / log.go:164"," msg":"启动插件"} {" level":" info" ," ts":1610387246.241575," caller":" app / server.go:213"," msg":"当前版本是5.12.0(5.12.0 / Sat Jun 15 09:02:50 UTC 2019 / bfd66aa445a2df8c6ed6b a9f2567021ecf6c9f3b / 403add5df2a572f676fd9da85ad80623cb00b88a)"} {" level":#34; &#34ts":1610387246.2597792," caller":" app / server.go:214"," msg":"企业已启用:true"} {" level":" info"," ts":1610387246.267642," caller" ::" app /server.go:216","msg":"当前工作目录为/"} {" level":" info&#34 ;," ts:1610387246.276085,&caller":" app / server.go:217"," msg":"加载的config"," source":" file:///config/config.json"} {" level":" info&#34 ;, &#34ts:#1610387246.9817462,&caller":" jobs / workers.go:68"," msg":"新手工人& #34;} {" level":" info"," ts":1610387246.989871," caller":" app / server .go:413"," msg":"启动服务器..."} {" level":" info&#34 ;, " ts":1610387246.9986944," caller":" app / server.go:479"," msg":"服务器是收听[::]:8065"} {" level":" info"," ts":1610387247.0144029,"呼叫者" :" jobs / schedulers.go:72"," msg":"启动调度程序。"} {" level":&#34 ; info",":1610387247.0446193,"呼叫者":" app / web_hub.go:75"," msg&#34 ;: "启动2个Websocket集线器"}