Skip to content
Permalink
master
Switch branches/tags
Go to file
replicas cant be 2 because of port allocation
2 contributors

Users who have contributed to this file

@azlyth @DanArlowski
version: '3'
services:
redis:
image: redis:alpine
ports:
- "6379:6379"
db:
image: postgres:9.4
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
ports:
- "5432:5432"
vote:
image: dockersamples/examplevotingapp_vote:before
ports:
- "5000:80"
deploy:
replicas: 1
result:
image: dockersamples/examplevotingapp_result:before
ports:
- "5001:80"
worker:
image: dockersamples/examplevotingapp_worker
visualizer:
image: dockersamples/visualizer:stable
ports:
- "8080:8080"