Files
SR-SYSTEM/backend/src/main/resources/application.yml
T

56 lines
1.1 KiB
YAML

server:
port: 8080
spring:
datasource:
url: jdbc:postgresql://localhost:5432/sr_system
username: sr_admin
password: ${DB_PASSWORD:'!Tp@rtner$'}
driver-class-name: org.postgresql.Driver
jpa:
hibernate:
ddl-auto: validate
show-sql: false
properties:
hibernate:
dialect: org.hibernate.dialect.PostgreSQLDialect
format_sql: true
jackson:
serialization:
fail-on-empty-beans: false
flyway:
enabled: true
locations: classpath:db/migration
baseline-on-migrate: true
validate-on-migrate: false
batch:
jdbc:
initialize-schema: always
job:
enabled: false
jwt:
secret: ${JWT_SECRET:sr-system-jwt-secret-key-change-in-production-at-least-256-bits-long}
access-token-expiration: 3600000
refresh-token-expiration: 604800000
parking:
enabled: false
schedule:
weekday-start: "20:00"
weekday-end: "08:00"
weekends: true
app:
encryption:
phone-key: ${PHONE_ENCRYPTION_KEY:change-me-to-32-chars!!}
file:
upload-dir: ./uploads
notification:
slack:
webhook-url: ${SLACK_WEBHOOK_URL:}
email:
enabled: false