-
Notifications
You must be signed in to change notification settings - Fork 295
/
wip.yml
64 lines (64 loc) · 1.36 KB
/
wip.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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"
environment:
- SPRING_PROFILES_ACTIVE=production
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"
environment:
- SPRING_PROFILES_ACTIVE=production
depends_on:
- discovery
- config
product-command-side:
image: benwilcock/product-command-side:latest
container_name: product-cmd-side
depends_on:
- mongodb
- rabbitmq
- discovery
- config
ports:
- "9000"
environment:
- SPRING_PROFILES_ACTIVE=production
product-query-side:
image: benwilcock/product-query-side:latest
container_name: product-qry-side
depends_on:
- rabbitmq
- discovery
- config
ports:
- "9001"
environment:
- SPRING_PROFILES_ACTIVE=production