-
Notifications
You must be signed in to change notification settings - Fork 0
/
addrstd-server.yml
30 lines (27 loc) · 935 Bytes
/
addrstd-server.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
# Spring properties
spring:
application:
name: addrstd-service # Service registers under this name
freemarker:
enabled: false # Ignore Eureka dashboard FreeMarker templates
thymeleaf:
cache: false # Allow Thymeleaf templates to be reloaded at runtime
# prefix: classpath:/accounts-server/templates/ # Trailing / mandatory
# Template location for this application only
# Map the error path to error template (for Thymeleaf)
#error:
# path: /error
# HTTP Server
server:
port: 2222 # HTTP (Tomcat) port
tomcat:
max-threads: 2
# Discovery Server Access
# 1. DEV ONLY: Reduce the lease renewal interval to speed up registration
# 2. Define URL of registration server (defaultZone)
eureka:
client:
serviceUrl:
defaultZone: http://localhost:1111/eureka/
instance:
leaseRenewalIntervalInSeconds: 5 # DO NOT DO THIS IN PRODUCTION