cloudnet-compose/vote-apps/docker-compose.yml
2015-11-15 20:59:29 +01:00

26 lines
341 B
YAML

voting-app:
build: ./voting-app/.
volumes:
- ./voting-app:/app
ports:
- "5000:80"
redis:
image: redis
ports: ["6379"]
worker:
build: ./worker
db:
image: postgres:9.4
volumes:
- "myvolume:/var/lib/postgresql/data"
result-app:
build: ./result-app/.
volumes:
- ./result-app:/app
ports:
- "5001:80"