-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
58 lines (52 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
58 lines (52 loc) · 1.02 KB
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
version: '3.4'
services:
category_service:
container_name: category_service
image: category_service
build:
context: ./CategoryApp
dockerfile: ./Dockerfile
ports:
- "8081:8081"
environment:
- "Env=qa"
ticket_service:
container_name: ticket_service
image: ticket_service
build:
context: ./TicketApp
dockerfile: ./Dockerfile
ports:
- "8082:8082"
environment:
- "Env=qa"
depends_on:
- rabbitmq
restart: on-failure
user_service:
container_name: user_service
image: user_service
build:
context: ./UserApp
dockerfile: ./Dockerfile
ports:
- "8083:8083"
environment:
- "Env=qa"
depends_on:
- mongo
- rabbitmq
restart: on-failure
mongo:
container_name: mongo
image: mongo
ports:
- "27017:27017"
rabbitmq:
container_name: rabbitmq
image: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./rabbitmqConf:/rabbitmqConf