initial commit
This commit is contained in:
51
target/classes/application-prd.yml
Normal file
51
target/classes/application-prd.yml
Normal file
@ -0,0 +1,51 @@
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: prd
|
||||
jackson:
|
||||
time-zone: Asia/Jakarta
|
||||
datasource:
|
||||
url: ${DB_URL}
|
||||
username: ${DB_USERNAME}
|
||||
password: ${DB_PASSWORD}
|
||||
jpa:
|
||||
hibernate:
|
||||
ddl-auto: validate
|
||||
properties:
|
||||
hibernate:
|
||||
format_sql: false
|
||||
jdbc:
|
||||
time_zone: UTC
|
||||
open-in-view: false
|
||||
data:
|
||||
redis:
|
||||
host: ${REDIS_HOST}
|
||||
port: ${REDIS_PORT:6379}
|
||||
password: ${REDIS_PASSWORD:}
|
||||
timeout: ${REDIS_TIMEOUT:2s}
|
||||
cache:
|
||||
type: redis
|
||||
activemq:
|
||||
broker-url: ${ACTIVEMQ_BROKER_URL}
|
||||
user: ${ACTIVEMQ_USER}
|
||||
password: ${ACTIVEMQ_PASSWORD}
|
||||
jms:
|
||||
listener:
|
||||
acknowledge-mode: auto
|
||||
app:
|
||||
security:
|
||||
login:
|
||||
max-failed-attempts: ${MAX_LOGIN_ATTEMPTS:5}
|
||||
failed-attempt-window-seconds: ${LOGIN_FAILED_WINDOW_SECONDS:900}
|
||||
lockout-duration-seconds: ${LOGIN_LOCKOUT_SECONDS:300}
|
||||
single-login:
|
||||
enabled: ${SINGLE_LOGIN_ENABLED:false}
|
||||
jwt:
|
||||
secret: ${JWT_SECRET}
|
||||
seed:
|
||||
enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user