forked from kakawait/uaa-behind-zuul-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (32 loc) · 846 Bytes
/
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
version: "2"
services:
service-registry:
image: kakawait/service-registry
environment:
SERVICE_HOST: registry
SERVICE_PORT: 8761
uaa-service:
image: kakawait/uaa-service
environment:
SERVICE_PORT: 8769
REGISTRY_URL: http://service-registry:8761/eureka
links:
- service-registry:service-registry
api-gateway:
image: kakawait/api-gateway
environment:
SERVICE_PORT: 8765
REGISTRY_URL: http://service-registry:8761/eureka
ports:
- 8765:8765
links:
- service-registry:service-registry
- uaa-service:uaa-service
dummy-service:
image: kakawait/dummy-service
environment:
SERVICE_PORT: 8870
REGISTRY_URL: http://service-registry:8761/eureka
links:
- service-registry:service-registry
- uaa-service:uaa-service