-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
58 lines (51 loc) · 1.19 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
version: '3.4'
services:
eureka-server:
image: alvescamila87/eureka-server:1.0.0
ports:
- "8761:8761"
expose:
- "8761"
networks:
- microservice-hr-system
api-gateway:
image: alvescamila87/api-gateway:1.0.0
ports:
- "8765:8765"
expose:
- "8765"
depends_on:
- eureka-server
environment:
- PORT=8765
- EUREKA_URL=http://eureka-server:8761/eureka
networks:
- microservice-hr-system
user-api:
image: alvescamila87/user-api:1.0.0
ports:
- "8000:8000"
depends_on:
- eureka-server
- api-gateway
environment:
- PORT=8001
- EUREKA_URL=http://eureka-server:8761/eureka
networks:
- microservice-hr-system
payroll-api:
image: alvescamila87/payroll-api:1.0.0
ports:
- "8100:8100"
depends_on:
- eureka-server
- api-gateway
- user-api
environment:
- PORT=8100
- EUREKA_URL=http://eureka-server:8761/eureka
networks:
- microservice-hr-system
networks:
microservice-hr-system:
driver: bridge