-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathauth-service.yml
More file actions
50 lines (42 loc) · 880 Bytes
/
auth-service.yml
File metadata and controls
50 lines (42 loc) · 880 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
# EMBEDDED SERVER CONFIGURATION
server:
port: ${port:8083}
context-path: /
use-forward-headers: true
error.whitelabel.enabled: false
compression:
enabled: true
min-response-size: 1024
mime-types:
- text/html
- text/css
- text/plain
- text/xml
- application/json
- application/javascript
# EUREKA
eureka:
client:
registerWithEureka: true
fetchRegistry: true
# LOGGING
#logging.level.org.springframework.security: DEBUG
---
spring:
profiles: docker
# EUREKA
eureka:
client:
serviceUrl:
defaultZone: http://discovery-service:8081/eureka/
---
spring:
profiles: standalone
# EUREKA
eureka:
instance:
hostname: localhost
port: 8081
client:
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${eureka.instance.port}/eureka/