|
|
@ -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
|
|
|
|