-
Notifications
You must be signed in to change notification settings - Fork 104
/
Copy pathdocker-compose.yml
61 lines (57 loc) · 1.24 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
59
60
61
version: '3'
services:
sampleeureka:
image: "sample-eureka:1.2.0-SNAPSHOT"
hostname: sampleeureka
ports:
- "8761:8761"
sampleconfig:
image: "sample-config:1.2.0-SNAPSHOT"
hostname: sampleconfig
links:
- sampleeureka
environment:
EUREKA_HOST: sampleeureka
EUREKA_PORT: 8761
ports:
- "8888:8888"
samplepong:
image: "sample-pong:1.2.0-SNAPSHOT"
hostname: samplepong
links:
- sampleeureka
- sampleconfig
environment:
EUREKA_HOST: sampleeureka
EUREKA_PORT: 8761
SERVER_PORT: 8080
SPRING_PROFILES_ACTIVE: docker
ports:
- "8082:8080"
sampleping:
image: "sample-ping:1.2.0-SNAPSHOT"
hostname: sampleping
links:
- sampleeureka
- sampleconfig
- samplepong
environment:
EUREKA_HOST: sampleeureka
EUREKA_PORT: 8761
SPRING_PROFILES_ACTIVE: docker
ports:
- "8080:8080"
samplemonitor:
image: "sample-monitor:1.2.0-SNAPSHOT"
hostname: samplemonitor
links:
- sampleeureka
- sampleconfig
- samplepong
- sampleping
environment:
EUREKA_HOST: sampleeureka
EUREKA_PORT: 8761
SPRING_PROFILES_ACTIVE: docker
ports:
- "8989:8989"