50 lines
1014 B
YAML
50 lines
1014 B
YAML
server:
|
|
port: ${SERVER_PORT:8082}
|
|
|
|
spring:
|
|
application:
|
|
name: academic-service
|
|
servlet:
|
|
multipart:
|
|
max-file-size: 120MB
|
|
max-request-size: 200MB
|
|
datasource:
|
|
url: ${LMS_DB_URL:jdbc:postgresql://localhost:5432/lms?currentSchema=academic}
|
|
username: ${LMS_DB_USER:lms}
|
|
password: ${LMS_DB_PASSWORD:lms}
|
|
jpa:
|
|
open-in-view: false
|
|
hibernate:
|
|
ddl-auto: validate
|
|
properties:
|
|
hibernate:
|
|
default_schema: academic
|
|
flyway:
|
|
enabled: true
|
|
locations: classpath:db/migration
|
|
schemas: academic
|
|
default-schema: academic
|
|
create-schemas: true
|
|
|
|
management:
|
|
endpoints:
|
|
web:
|
|
exposure:
|
|
include: health,info
|
|
endpoint:
|
|
health:
|
|
probes:
|
|
enabled: true
|
|
|
|
springdoc:
|
|
api-docs:
|
|
path: /v3/api-docs
|
|
|
|
lms:
|
|
content:
|
|
assets-dir: ${LMS_CONTENT_ASSETS_DIR:data/content-assets}
|
|
identity:
|
|
base-url: ${LMS_IDENTITY_URI:http://localhost:8081}
|
|
internal:
|
|
token: ${LMS_INTERNAL_TOKEN:dev-internal-token}
|