|
@@ -24,7 +24,7 @@ services:
|
|
placement:
|
|
placement:
|
|
constraints: [node.role == manager]
|
|
constraints: [node.role == manager]
|
|
vote:
|
|
vote:
|
|
- image: dockersamples/examplevotingapp_vote
|
|
|
|
|
|
+ image: dockersamples/examplevotingapp_vote:before
|
|
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: dockersamples/examplevotingapp_result
|
|
|
|
|
|
+ image: dockersamples/examplevotingapp_result:before
|
|
ports:
|
|
ports:
|
|
- 5001:80
|
|
- 5001:80
|
|
networks:
|
|
networks:
|