From 7b148613a727489cd0da79a38602fa0740e2c7eb Mon Sep 17 00:00:00 2001 From: jackyzhou <20fbf29fb9584e9387d498b2dc6e505f@huawei.com> Date: Fri, 15 Mar 2019 10:44:50 +0800 Subject: [PATCH] dymanic image version --- docker-stack.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-stack.yml b/docker-stack.yml index e5bf975..219642a 100644 --- a/docker-stack.yml +++ b/docker-stack.yml @@ -24,7 +24,7 @@ services: placement: constraints: [node.role == manager] vote: - image: docker-server/docker-org/vote:latest + image: docker-server/docker-org/vote:image-version ports: - 5000:80 networks: @@ -38,7 +38,7 @@ services: restart_policy: condition: on-failure result: - image: docker-server/docker-org/result:latest + image: docker-server/docker-org/result:image-version ports: - 5001:80 networks: @@ -54,7 +54,7 @@ services: condition: on-failure worker: - image: docker-server/docker-org/worker:latest + image: docker-server/docker-org/worker:image-version networks: - frontend - backend