# spring:
# datasource:
# url: jdbc:mysql://localhost:3306/twofactor_auth?
createDatabaseIfNotExist=true&useSSL=false&serverTimezone=UTC&allowPublicKeyRetriev
al=true
# username: root
# password: root
# driver-class-name: com.mysql.cj.jdbc.Driver
# jpa:
# show-sql: true
# hibernate:
# ddl-auto: update
# properties:
# hibernate:
# dialect: org.hibernate.dialect.MySQL8Dialect
# format_sql: true
# mail:
# host: smtp.gmail.com
# port: 587
# username: [email protected]
# password: cgbv mafr lqwu vivf
# properties:
# mail:
# smtp:
# auth: true
# starttls:
# enable: true
# required: true
# ssl:
# trust: smtp.gmail.com
# protocols: TLSv1.2
# connectiontimeout: 10000
# timeout: 10000
# writetimeout: 10000
# # Reliability improvements
# sendpartial: true
# quitwait: false
# debug: true
# transport:
# protocol: smtp
# default-encoding: UTF-8
# test-connection: true
# server:
# port: 8082
# servlet:
# context-path: /api
# app:
# jwt:
# expiration: 86400000
# mail:
# from: [email protected] # Using same email as SMTP username
# tfa:
# issuer: TwoFactorAuth
# validity-period: 30
# digits: 6
# url:
# frontend: http://localhost:3000 # Frontend application URL for password
reset links
# # Google reCAPTCHA configuration
# google:
# recaptcha:
# site-key: 6LeY4_oqAAAAAAbHgvetFulQ-McPyqhCsPjtBtHl # Google's test key for
development
# secret: 6LeY4_oqAAAAAI1ji6QcUzV0VGf54Qr0vHBwVrpc # Google's test secret
for development
# verify-url: https://www.google.com/recaptcha/api/siteverify
spring:
datasource:
url: jdbc:mysql://switchback.proxy.rlwy.net:30695/railway
username: root
password: NtRtyynldHoWNqmcfPtqFZRQlndYKfzL
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
show-sql: true
hibernate:
ddl-auto: update
properties:
hibernate:
dialect: org.hibernate.dialect.MySQL8Dialect
format_sql: true
logging:
level:
root: DEBUG
mail:
host: smtp.gmail.com
port: 587
username: [email protected]
password: cgbv mafr lqwu vivf
properties:
mail:
smtp:
auth: true
starttls:
enable: true
required: true
ssl:
trust: smtp.gmail.com
connectiontimeout: 10000
timeout: 10000
writetimeout: 10000
# Connection pooling
connection-pool:
size: 5
enable: true
# Session pooling
session:
pooling: true
pool:
size: 5
# Retry mechanism
retry:
count: 3
delay: 1000
# Reliability improvements
sendpartial: true
quitwait: false
connectionpool:
size: 5
debug: true
debug: true
transport:
protocol: smtp
default-encoding: UTF-8
test-connection: true
server:
port: 8082
servlet:
context-path: /api
app:
jwt:
expiration: 86400000
mail:
from: [email protected] # Using same email as SMTP username
tfa:
issuer: TwoFactorAuth
validity-period: 30
digits: 6
url:
frontend: https://tfafrontend-production.up.railway.app # Frontend application
URL for password reset links
# Google reCAPTCHA configuration
# google:
# recaptcha:
# site-key: 6LeY4_oqAAAAAAbHgvetFulQ-McPyqhCsPjtBtHl # Google's test key for
development
# secret: 6LeY4_oqAAAAAI1ji6QcUzV0VGf54Qr0vHBwVrpc # Google's test secret
for development
# verify-url: https://www.google.com/recaptcha/api/siteverify
google:
recaptcha:
site-key: 6Lc8-vwqAAAAAM6pSulL7ReN7X2tG1sIBoG-YCjC # Google's test key for
development
secret: 6Lc8-vwqAAAAAJirm84_co0iZh0EwX1XPE6-tUOq # Google's test secret for
development
verify-url: https://www.google.com/recaptcha/api/siteverify