/
futureability
/
BonusService
Обзор
Документация
Войти
/
futureability
/
BonusService
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/main/resources/application.yml
56 строк
1 KB
fee-lee
addREST
04 фев 2026, 07:11
04 фев 2026, 07:11
249b1bb
Код
Авторство
О чём код?
spring: application: name: bonus-service datasource: url: jdbc:postgresql://localhost:5432/postgres username: username password: pass hikari: maximum-pool-size: 20 minimum-idle: 5 connection-timeout: 30000 idle-timeout: 600000 max-lifetime: 1800000 jpa: hibernate: ddl-auto: validate properties: hibernate: dialect: org.hibernate.dialect.PostgreSQLDialect jdbc.batch_size: 20 order_inserts: true order_updates: true generate_statistics: false show-sql: false flyway: enabled: true baseline-on-migrate: true locations: classpath:db/migration server: port: 8080 security: jwt: secret: ${JWT_SECRET:secret-key} expiration: 86400000 # 24h basic: enabled: false app: admin: username: ${ADMIN_USERNAME:admin} password: ${ADMIN_PASSWORD:admin} user: username: ${USER_USERNAME:user} password: ${USER_PASSWORD:user} logging: level: com.bonus: DEBUG org.springframework.transaction: INFO pattern: console: "%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n"