-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (48 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
49 lines (48 loc) · 1.15 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
version: "3"
networks:
compose-kenwu:
driver: bridge
ipam:
config:
- subnet: 172.25.0.0/16
services:
peer1:
image: itmuch/microservice-discovery-eureka-ha:0.0.1-SNAPSHOT
ports:
- "8761:8761"
environment:
- spring.profiles.active=peer1
networks:
compose-kenwu:
ipv4_address: 172.25.0.10
microservice-provider-user:
image: itmuch/microservice-provider-user:0.0.1-SNAPSHOT
networks:
- compose-kenwu
depends_on:
- peer1
microservice-consumer-movie-ribbon-hystrix:
image: itmuch/microservice-consumer-movie-ribbon-hystrix:0.0.1-SNAPSHOT
ports:
- "8010:8010"
networks:
compose-kenwu:
ipv4_address: 172.25.0.11
depends_on:
- peer1
microservice-gateway-zuul:
image: itmuch/microservice-gateway-zuul:0.0.1-SNAPSHOT
networks:
compose-kenwu:
ipv4_address: 172.25.0.12
depends_on:
- peer1
microservice-hystrix-turbine:
image: itmuch/microservice-hystrix-turbine:0.0.1-SNAPSHOT
ports:
- "8031:8031"
networks:
compose-kenwu:
ipv4_address: 172.25.0.13
depends_on:
- peer1