dymanic image version

master
jackyzhou 6 years ago
parent d226468f67
commit 7b148613a7

@ -24,7 +24,7 @@ services:
placement: placement:
constraints: [node.role == manager] constraints: [node.role == manager]
vote: vote:
image: docker-server/docker-org/vote:latest image: docker-server/docker-org/vote:image-version
ports: ports:
- 5000:80 - 5000:80
networks: networks:
@ -38,7 +38,7 @@ services:
restart_policy: restart_policy:
condition: on-failure condition: on-failure
result: result:
image: docker-server/docker-org/result:latest image: docker-server/docker-org/result:image-version
ports: ports:
- 5001:80 - 5001:80
networks: networks:
@ -54,7 +54,7 @@ services:
condition: on-failure condition: on-failure
worker: worker:
image: docker-server/docker-org/worker:latest image: docker-server/docker-org/worker:image-version
networks: networks:
- frontend - frontend
- backend - backend

Loading…
Cancel
Save