1version: '2'
2services:
3  etcd:
4    image: quay.io/coreos/etcd
5    ports:
6      - "2379:2379"
7    command: /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2379,http://0.0.0.0:4001 -listen-client-urls "http://0.0.0.0:2379,http://0.0.0.0:4001"
8  consul:
9    image: progrium/consul
10    ports:
11      - "8500:8500"
12    command: -server -bootstrap
13  zk:
14    image: zookeeper
15    ports:
16      - "2181:2181"
17  eureka:
18    image: springcloud/eureka
19    environment:
20      eureka.server.responseCacheUpdateIntervalMs: 1000
21    ports:
22      - "8761:8761"
23