58 lines
1.2 KiB
YAML
58 lines
1.2 KiB
YAML
info:
|
|
app:
|
|
version: @project.version@
|
|
|
|
app:
|
|
encryption:
|
|
secret: ${APP_ENCRYPTION_SECRET}
|
|
cors:
|
|
allowed-origins: ${APP_ALLOWED_ORIGINS:http://localhost:8080}
|
|
|
|
server:
|
|
port: 8080
|
|
servlet:
|
|
context-path: /api
|
|
forward-headers-strategy: framework
|
|
|
|
spring:
|
|
application:
|
|
name: restemailbridge
|
|
web:
|
|
resources:
|
|
add-mappings: false
|
|
|
|
datasource:
|
|
url: jdbc:postgresql://${DB_HOST:localhost}:${DB_PORT:5432}/${DB_NAME:default_db}
|
|
username: ${DB_USER:postgres}
|
|
password: ${DB_PASSWORD:postgres}
|
|
driver-class-name: org.postgresql.Driver
|
|
hikari:
|
|
maximum-pool-size: 20
|
|
minimum-idle: 5
|
|
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: validate
|
|
properties:
|
|
hibernate.transaction.jta.platform: org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform
|
|
hibernate:
|
|
format_sql: true
|
|
dialect: org.hibernate.dialect.PostgreSQLDialect
|
|
show-sql: true
|
|
|
|
jackson:
|
|
serialization:
|
|
INDENT_OUTPUT: true
|
|
|
|
springdoc:
|
|
api-docs:
|
|
path: /v3/api-docs
|
|
swagger-ui:
|
|
path: /swagger-ui
|
|
show-actuator: true
|
|
|
|
gmail:
|
|
oauth2:
|
|
clientId: ${GMAIL_OAUTH_CLIENT_ID}
|
|
clientSecret: ${GMAIL_OAUTH_CLIENT_SECRET}
|
|
redirectUri: http://localhost:8888/Callback |