-
Notifications
You must be signed in to change notification settings - Fork 76
/
web-portal.yml
34 lines (30 loc) · 967 Bytes
/
web-portal.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
# The portal is the root app since all the UI (at /** path) is maintained here; so we don't provide
# any context root for the UI application
server:
port: 8090
eureka:
client:
serviceUrl:
defaultZone: http://localhost:8761/eureka/
logging:
level:
org.springframework.security: DEBUG
turbine:
appConfig: task-webservice
clusterNameExpression: "'default'"
---
# api-gateway instance when used on Docker
spring:
profiles: docker
eureka:
# Register our microservices to Eureka using hostnames in a Docker environment will not work, they will all get
# one and the same hostname. Instead we configure them to use its IP address during registration with Eureka.
instance:
preferIpAddress: true
client:
serviceUrl:
defaultZone: http://eurekaregistry:8761/eureka/
# Define the port where the web portal server would be running. This could always be port 8080
# since each docker container has it's own IP
server:
port: 8080