fleet-ble-monitor/backend/build/resources/main/application.yml

44 lines
976 B
YAML

spring:
application:
name: fleet-ble-monitor-backend
graphql:
path: /graphql
schema:
locations: classpath:graphql/
file-extensions: .graphqls
graphiql:
enabled: true
path: /graphiql
cors:
allow-credentials: true
allowed-origin-patterns:
- "*"
datasource:
url: jdbc:postgresql://${DB_HOST:localhost:55432}/${DB_NAME:fleet_ble_monitor}
username: ${DB_USER:fleet_user}
password: ${DB_PASSWORD:fleet_password}
driver-class-name: org.postgresql.Driver
jpa:
open-in-view: false
hibernate:
ddl-auto: update
properties:
hibernate:
format_sql: true
server:
port: ${SERVER_PORT:8080}
servlet:
context-path: /api
app:
seed:
enabled: ${SEED_ENABLED:true}
auth:
demo-token-ttl-minutes: ${DEMO_TOKEN_TTL_MINUTES:720}
access-token-ttl-minutes: ${ACCESS_TOKEN_TTL_MINUTES:720}
refresh-token-ttl-minutes: ${REFRESH_TOKEN_TTL_MINUTES:10080}