-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-asynchronous-rabbitmq.yml
68 lines (59 loc) · 1.37 KB
/
docker-compose-asynchronous-rabbitmq.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
version: '2.1'
services:
### INFRASTRUCTURE ###
# RabbitMQ
mi-rabbitmq:
image: rabbitmq:management
container_name: mi-rabbitmq
ports:
- '5672:5672'
- '15672:15672'
volumes:
- mi-rabbitmq-data
### MICROSERVICES ###
# Eureka Server
eureka-server:
image: chan01.vse.cz/mi-eureka-server:1.0.0
container_name: eureka-server
ports:
- 8761:8080
- 3000:3000
# Eureka Zuul
eureka-zuul:
image: chan01.vse.cz/mi-eureka-zuul:1.0.0
container_name: eureka-zuul
restart: on-failure
depends_on:
eureka-server:
condition: service_healthy
ports:
- 8762:8080
# SideCar
eureka-sidecar-rabbitmq:
image: chan01.vse.cz/mi-eureka-sidecar-rabbitmq:1.0.0
container_name: eureka-sidecar-rabbitmq
restart: on-failure
depends_on:
eureka-server:
condition: service_healthy
ports:
- 25672:8080
# API
api-contract-8080:
image: chan01.vse.cz/mi-api-contract:1.0.0
container_name: api-contract-8080
restart: on-failure
depends_on:
eureka-server:
condition: service_healthy
ports:
- 8080:8080
api-document-8090:
image: chan01.vse.cz/mi-api-document:1.0.0
container_name: api-document-8090
restart: on-failure
depends_on:
eureka-server:
condition: service_healthy
ports:
- 8090:8080