forked from benwilcock/cqrs-microservice-sampler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.yml
39 lines (39 loc) · 790 Bytes
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
version: '2'
services:
mongodb:
image: mongo:2.4
container_name: mongodb
ports:
- "27017:27017"
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=test
- RABBITMQ_DEFAULT_PASS=password
config:
image: benwilcock/config-service
container_name: config
ports:
- "8888:8888"
volumes:
- ..:/home/ben/src/github
depends_on:
- mongodb
- rabbitmq
discovery:
image: benwilcock/discovery-service
container_name: discovery
ports:
- "8761:8761"
gateway:
image: benwilcock/gateway-service
container_name: gateway
ports:
- "8080:8080"
depends_on:
- config
- discovery