@@ -0,0 +1,53 @@
|
||||
spring:
|
||||
application:
|
||||
name: genesis-case
|
||||
datasource:
|
||||
url: ${DB_URL:jdbc:postgresql://localhost:5432/genesis_auth}
|
||||
username: ${DB_USER:genesis}
|
||||
password: ${DB_PASSWORD}
|
||||
hikari:
|
||||
maximum-pool-size: 10
|
||||
connection-timeout: 5000
|
||||
data:
|
||||
redis:
|
||||
url: ${REDIS_URL:redis://localhost:6379}
|
||||
connect-timeout: 500ms
|
||||
timeout: 500ms
|
||||
jackson:
|
||||
deserialization:
|
||||
fail-on-unknown-properties: true
|
||||
server:
|
||||
port: ${SERVER_PORT:8084}
|
||||
shutdown: graceful
|
||||
forward-headers-strategy: none
|
||||
max-http-request-header-size: 16KB
|
||||
error:
|
||||
include-message: never
|
||||
include-stacktrace: never
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: health
|
||||
endpoint:
|
||||
health:
|
||||
show-details: never
|
||||
health:
|
||||
redis:
|
||||
enabled: false
|
||||
cases:
|
||||
jwt-algorithm: ${JWT_ALGORITHM:RS256}
|
||||
public-key: ${JWT_PUBLIC_KEY:file:.secrets/public.pem}
|
||||
token-secret: ${TOKEN_SECRET:}
|
||||
issuer: ${JWT_ISSUER:http://localhost:8080}
|
||||
audience: ${JWT_AUDIENCE:genesis-api}
|
||||
check-session: ${JWT_CHECK_SESSION:true}
|
||||
jwt-max-age: ${JWT_MAX_AGE:15m}
|
||||
allowed-origins: ${CORS_ALLOWED_ORIGINS:${FRONTEND_URL:http://localhost:3000}}
|
||||
rate-limit-max: ${RATE_LIMIT_MAX:300}
|
||||
rate-limit-window-ms: ${RATE_LIMIT_WINDOW_MS:60000}
|
||||
rate-limit-memory-max-keys: ${RATE_LIMIT_MEMORY_MAX_KEYS:10000}
|
||||
rate-limit-redis-backoff-ms: ${RATE_LIMIT_REDIS_BACKOFF_MS:60000}
|
||||
rate-limit-prefix: ${RATE_LIMIT_PREFIX:genesis-case:rate}
|
||||
redis-url: ${REDIS_URL:}
|
||||
request-log-enabled: ${REQUEST_LOG_ENABLED:true}
|
||||
Reference in New Issue
Block a user