42 lines
983 B
YAML
42 lines
983 B
YAML
server:
|
|
port: 6788
|
|
spring:
|
|
application:
|
|
name: com-safaricom-app-suite-ms-core
|
|
data:
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
datasource:
|
|
url: jdbc:postgresql://localhost:5432/ms_app_suite
|
|
username: root
|
|
password: password
|
|
driver-class-name: org.postgresql.Driver
|
|
jpa:
|
|
show-sql: false
|
|
hibernate:
|
|
ddl-auto: update
|
|
database-platform: org.hibernate.dialect.PostgreSQLDialect
|
|
logging:
|
|
pattern:
|
|
console: "%d{HH:mm:ss.SSS} [%X{requestId}] %-5level %logger{36} - %msg%n"
|
|
cors:
|
|
allowed-origins:
|
|
- http://localhost:9089
|
|
jwt:
|
|
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
|
|
access:
|
|
expiration: 900000
|
|
refresh:
|
|
expiration: 604800000
|
|
verification:
|
|
expiration: 86400000
|
|
device:
|
|
expiration: 86400000
|
|
s3:
|
|
endpoint: https://api.storage.kilimo.farm
|
|
region: us-east-1
|
|
access-key: tbSuDwtmr1SOUd2uwWxi
|
|
secret-key: QAmtiJKYdrIeKmDSMPuYi4IYDgh7m0NPVR3yTQrI
|
|
bucket-name: shilling
|
|
file-expiry: 1 |