This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
84 lines (84 loc) · 2 KB
/
docker-compose.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '2'
services:
mongodb:
image: mongo:2.4
container_name: mongodb
command: mongod --smallfiles
volumes:
- /Users/daniel/Documents/Development/java/docker-map:/data/db
ports:
- "27017:27017"
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
configuration-service:
image: drm3107/configuration-service
container_name: configuration-service
ports:
- "8888:8888"
environment:
- SPRING_PROFILES_ACTIVE=production
service-registry:
image: drm3107/service-registry
container_name: service-registry
ports:
- "8761:8761"
gateway-service:
image: drm3107/gateway-service
container_name: gateway-service
ports:
- "8080:8080"
environment:
- SPRING_PROFILES_ACTIVE=production
depends_on:
- service-registry
- configuration-service
order-service:
image: drm3107/order-service
container_name: order-service
links:
- mongodb
- rabbitmq
- service-registry
- configuration-service
ports:
- "8900:8900"
environment:
- SPRING_PROFILES_ACTIVE=production
order-query-service:
image: drm3107/order-query-service
container_name: order-query-service
links:
- rabbitmq
- service-registry
- configuration-service
ports:
- "8901:8901"
environment:
- SPRING_PROFILES_ACTIVE=production
admin-service:
image: drm3107/admin-service
container_name: admin-service
links:
- service-registry
- configuration-service
ports:
- "8887:8887"
environment:
- SPRING_PROFILES_ACTIVE=production
hystrix-dashboard-service:
image: drm3107/hystrix-dashboard-service
container_name: hystrix-dashboard-service
links:
- service-registry
- gateway-service
ports:
- "8020:8020"
environment:
- SPRING_PROFILES_ACTIVE=production