-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
57 lines (53 loc) · 1.17 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
version: '3'
services:
eureka-discovery:
build:
context: ./eureka-discovery
dockerfile: Dockerfile
container_name: eureka-discovery
ports:
- "8761:8761"
networks:
- eureka-network
api-gateway:
build:
context: ./api-gateway
dockerfile: Dockerfile
container_name: api-gateway
ports:
- "8080:8080"
environment:
- EUREKA_SERVER_URI=http://eureka-discovery:8761/eureka/
depends_on:
- eureka-discovery
networks:
- eureka-network
user-service:
build:
context: ./user-service
dockerfile: Dockerfile
container_name: user-service
ports:
- "8081:8081"
environment:
- EUREKA_SERVER_URI=http://eureka-discovery:8761/eureka/
depends_on:
- eureka-discovery
networks:
- eureka-network
group-service:
build:
context: ./group-service
dockerfile: Dockerfile
container_name: group-service
ports:
- "8082:8082"
environment:
- EUREKA_SERVER_URI=http://eureka-discovery:8761/eureka/
depends_on:
- eureka-discovery
networks:
- eureka-network
networks:
eureka-network:
driver: bridge