Files
qruvw_ms_configs/com-imaray-ms-core-production.yml

44 lines
1.1 KiB
YAML

server:
port: 9088
spring:
application:
name: com-imaray-ms-core
data:
redis:
host: localhost
port: 6379
datasource:
url: jdbc:postgresql://127.0.0.1:5432/imaray_core
# username: apiuser
# password: 4hKiOnTqbP2kLwR
username: postgres
password: CHANGE_ME_POSTGRES
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:
- https://zp1v56uxy8rdx5ypatb0ockcb9tr6a-oci3-m1d8v647--5173--96435430.local-credentialless.webcontainer-api.io/
jwt:
secret: U7R7yI7oF5wI5Of5qTnS83uWhhRr9mY8ftkbvEtN/fc=
access:
expiration: 900000
refresh:
expiration: 604800000
verification:
expiration: 86400000
device:
expiration: 86400000
s3:
endpoint: https://storage.kilimo.farm
region: us-east-1
access-key: NlhGzbXaIO1Cw2op9pZW
secret-key: Jpa9x4LKUlEiZGlqfioBM7suZh6fzjs016GqN6jC
bucket-name: imaray
file-expiry: 3