-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (50 loc) · 1.58 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
version: '3'
services:
eureka:
image: vikasgarg/eureka:v1
restart: always
ports:
- 8888:8888
volumes:
- eureka_storage:/eureka-server
networks:
mynet1:
aliases:
- eureka-server
zuul:
image: vikasgarg/zuul:v1
restart: always
ports:
- 8762:8762
volumes:
- zuul_storage:/zuul-server
networks:
mynet1:
aliases:
- zuul-server
service1:
image: vikasgarg/service1:v1
restart: always
volumes:
- service1_storage:/AppServer
networks:
mynet1:
aliases:
- app1-server
service2:
image: vikasgarg/service2:v1
restart: always
volumes:
- service2_storage:/AppServer
networks:
mynet1:
aliases:
- app2-server
networks:
mynet1:
driver: bridge
volumes:
eureka_storage:
zuul_storage:
service1_storage:
service2_storage: