我按照这篇博文中提到的步骤进行操作。
https://aws.amazon.com/blogs/opensource/dashboards-as-code-a-new-approach-to-visualizing-aws-apis/
并能够启动该服务。
$ steampipe dashboard
[ Wait ] Loading Workspace
[ Wait ] Starting Dashboard Server
[ Message ] Workspace loaded
[ Message ] Initialization complete
[ Ready ] Dashboard server started on 9194 and listening on local
[ Message ] Visit http://localhost:9194
[ Message ] Press Ctrl+C to exit
但我需要将其托管在 some-company.com:9194 上,而不是 localhost 上。可以吗?
答案1
在目录中~/.steampipe/config
找到database
并编辑监听网络
options "database" {
port = 9193 # any valid, open port number
listen = "network" # local, network
search_path = "aws,aws2,gcp,gcp2" # comma-separated string; an exact search_path
}