KevanSoon commited on
Commit
020c371
·
1 Parent(s): 31dbadc

configured application.yml

Browse files
Files changed (1) hide show
  1. src/main/resources/application.yml +10 -4
src/main/resources/application.yml CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  spring:
2
  datasource:
3
  url: ${SPRING_DATASOURCE_URL}
@@ -12,12 +15,15 @@ spring:
12
  hibernate:
13
  dialect: org.hibernate.dialect.PostgreSQLDialect
14
 
15
- # Expose metrics for demo proof
16
- management.endpoints.web.exposure.include: health,info,metrics,prometheus
 
 
 
17
 
18
- # Externalised CV thresholds
19
  recognition:
20
  confidence: 0.6
21
  cooldownMs: 10000
 
22
  face-service:
23
- url: http://localhost:5001 # backend face service url
 
1
+ server:
2
+ port: 7860
3
+
4
  spring:
5
  datasource:
6
  url: ${SPRING_DATASOURCE_URL}
 
15
  hibernate:
16
  dialect: org.hibernate.dialect.PostgreSQLDialect
17
 
18
+ management:
19
+ endpoints:
20
+ web:
21
+ exposure:
22
+ include: health,info,metrics,prometheus
23
 
 
24
  recognition:
25
  confidence: 0.6
26
  cooldownMs: 10000
27
+
28
  face-service:
29
+ url: http://localhost:5001