ws02 api 管理器和身份服务器之间的 Dockerising 和连接作为密钥管理器

Dockerising and connecting between ws02 api manger and identity server as keymanager

我想docker将api管理器和身份服务器设置为密钥管理器并在它们之间进行通信。为此要遵循的步骤是什么。这些应该如何制作?两张单独的 docker 图像或使用 docker 合成并设置?

撰写文件是最好的方式。您可以同时指定相互公开的端口和 运行。

Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a Compose file to configure your application's services. Then, using a single command, you create and start all the services from your configuration.

下面参考中提到的步骤是:

  1. 使用 Dockerfile 定义您的应用环境 随地转载。
  2. 定义构成您的应用程序的服务 docker-compose.yml 这样他们就可以 运行 在一起 环境。
  3. 最后,运行 docker-撰写并开始撰写 运行 你的整个应用程序。

在这里查看:https://github.com/docker/compose

Docker https://github.com/wso2/docker-apim/tree/master/docker-compose/apim-is-as-km-with-analytics 中的 API 经理和 IS 作为 KM 已经可以使用撰写资源。在此设置中,还启用了 APIM Analytics。