Customize the app and redploy (Engine)

Customize the app and redeploy

In this step, we’ll make a simple change to the application and redeploy it. We’ll change the focus of the poll from Cats or Dogs to .NET or Java.

In the real world, you might do this by making code changes and rebuilding to create new images, or new versions of the same images.

For our example, we’ve done this for you. We already have a different version of the application available as built images. So, all you need to do is reconfigure docker-stack.yml to point to the new images, then redeploy.

Update docker-stack.yml to reference new images

Go back to docker-stack.yml and replace the before tags on both the vote and result images to reference 登录查看完整内容