waypoint docker 部署试用

以下是关于部署到docker的测试试用

安装waypoint

mac 系统

brew tap hashicorp/tap
brew install hashicorp/tap/waypoint

clone 代码

  • clone demo 代码
git clone https://github.com/hashicorp/waypoint-examples.git

准备waypoint server 环境

  • 安装server
docker pull hashicorp/waypoint:latest
waypoint install -platform=docker -accept-tos

配置waypoint环境

上边clone的代码已经包含了相关配置了,demo环境是nodejs的

  • 参考效果

 

 

 

  • init
    cd waypoint-examples/docker/nodejs
waypoint init

效果

  • 部署
waypoint up

效果

  • 构建
waypoint build

效果

 

 

  • ui
waypoint ui -authenticate

效果

 

 

说明

以上构建有点慢,需要等待下(镜像拉取)

参考资料

https://learn.hashicorp.com/tutorials/waypoint/get-started-docker?in=waypoint/get-started-docker

posted on 2020-10-18 12:44  荣锋亮  阅读(330)  评论(0编辑  收藏  举报

导航