cloudnet-compose/vote-apps/docker-compose.yml

26 lines
341 B
YAML
Raw Normal View History

2015-11-15 20:59:29 +01:00
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"