-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 987 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (48 loc) · 987 Bytes
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
version: "3"
services:
admin:
image: angley/springboot-admin
hostname: admin
environment:
- spring.cloud.config.profile=prod
- EUREKA_SERVER_ADDRESS=eureka
networks:
- eureka-net
one:
image: angley/springboot-one
hostname: one
links:
- admin
environment:
- spring.cloud.config.profile=prod
- EUREKA_SERVER_ADDRESS=eureka
networks:
- eureka-net
two:
image: angley/springboot-one
hostname: two
links:
- admin
environment:
- spring.cloud.config.profile=prod
- EUREKA_SERVER_ADDRESS=eureka
networks:
- eureka-net
apigetway:
image: angley/springboot-apigetway
hostname: apigetway
ports:
- "9004:9004"
links:
- admin
- one
- two
environment:
- spring.cloud.config.profile=prod
- EUREKA_SERVER_ADDRESS=eureka
networks:
- eureka-net
networks:
eureka-net:
external:
name: eureka-net