-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
97 lines (90 loc) · 1.84 KB
/
docker-compose.yml
File metadata and controls
97 lines (90 loc) · 1.84 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
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
version: '3.8'
services:
postgres:
build:
context: ./database
image: postgres
container_name: postgres
expose:
- 5432
ports:
- '5431:5431'
environment:
POSTGRES_DB: bank
POSTGRES_USER: postgres
POSTGRES_PASSWORD: '000000'
hostname: postgres
networks:
- mired
microservice-config:
build:
context: ./microservice-config
depends_on:
- postgres
expose:
- 8888
ports:
- '8888:8888'
image: microservice-config
container_name: microservice-config
hostname: microservice-config
networks:
- mired
microservice-eureka:
build:
context: ./microservice-eureka
depends_on:
- microservice-config
expose:
- 8761
ports:
- '8761:8761'
image: microservice-eureka
container_name: microservice-eureka
hostname: microservice-eureka
networks:
- mired
microservice-gateway:
build:
context: ./microservice-gateway
depends_on:
- microservice-eureka
expose:
- 8080
ports:
- '8080:8080'
image: microservice-gateway
container_name: microservice-gateway
hostname: microservice-gateway
networks:
- mired
microservice-customer:
build:
context: ./microservice-customer
depends_on:
- microservice-eureka
expose:
- 8090
ports:
- '8090:8090'
image: microservice-customer
container_name: microservice-customer
hostname: microservice-customer
networks:
- mired
microservice-account:
build:
context: ./microservice-account
depends_on:
- microservice-eureka
expose:
- 8091
ports:
- '8091:8091'
image: microservice-account
container_name: microservice-account
hostname: microservice-account
networks:
- mired
networks:
mired: