-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
103 lines (94 loc) · 2.04 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
version: '3.4'
services:
tour-operator:
container_name: tour-operator
image: tour-operator
restart: always
build:
context: ./services
dockerfile: Dockerfile.TourOperator
environment:
ASPNETCORE_URLS: http://+:80
ASPNETCORE_HTTPS_PORT: https://+:443
ASPNETCORE_ENVIRONMENT: Development
ports:
- 8080:80
- 5001:443
# networks:
# back:
# front:
payment-service:
image: pg-travel-payment-service
build: ./payments
container_name: payment-service
ports:
- 8081:8080
customer-service:
image: pg-travel-customer-service
build: ./customers
container_name: customer-service
ports:
- 8082:8080
offer-service:
container_name: offer-service
image: offer-service
restart: always
build:
context: ./services
dockerfile: Dockerfile.Offer
environment:
ASPNETCORE_URLS: http://+:80
ASPNETCORE_HTTPS_PORT: https://+:443
ASPNETCORE_ENVIRONMENT: Development
ports:
- 8083:80
- 5003:443
# networks:
# back:
# front:
depends_on:
- tour-operator
order-service:
container_name: order-service
image: order-service
restart: always
build:
context: ./services
dockerfile: Dockerfile.Order
environment:
ASPNETCORE_URLS: http://+:80
ASPNETCORE_HTTPS_PORT: https://+:443
ASPNETCORE_ENVIRONMENT: Development
ports:
- 8084:80
- 5005:443
# networks:
# back:
# front:
rabbitmq:
container_name: rabbitmq
image: rabbitmq:3-management-alpine
restart: always
ports:
- 5672:5672
- 15672:15672
# networks:
# back:
# front:
frontend:
image: pg-travel-front-server
container_name: front-server
build: ./frontend
restart: always
ports:
- 8099:8080
# networks:
# back:
# driver: bridge
# ipam:
# driver: default
# config:
# - subnet: "172.18.0.0/24"
# gateway: 172.18.0.1
# front:
# driver: bridge