VegaHRM.Backend/config/shared.properties
2025-11-14 23:23:11 +07:00

35 lines
1.6 KiB
Properties

spring.jpa.open-in-view=false
app.datasource.vega.url=jdbc:postgresql://103.166.141.147:5440/db_vega_hrm
app.datasource.vega.username=vega_hrm
app.datasource.vega.password=VegaHrm@2025
app.datasource.vega.hikari.idle-timeout=10000
app.datasource.vega.hikari.maximum-pool-size=10
app.datasource.vega.hikari.minimum-idle=5
app.datasource.vega.hikari.pool-name=VEGA_POOL
app.datasource.vega.hibernate.default_schema=vega_hrm
# Hibernate PostgreSQL dialect
app.datasource.vega.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
app.datasource.vega.hibernate.format_sql=true
app.datasource.vega.hikari.show-sql=true
app.datasource.vega.hikari.max-lifetime=1800000
app.datasource.vega.hikari.connection-timeout=30000
app.datasource.vega.hikari.validation-timeout=5000
vega.hrm.postgre.enabled=true
#app.datasource.core.vcb.url=jdbc:oracle:thin:@//10.22.19.197:1521/DVNHTEST
#app.datasource.core.vcb.username=VCB_AIRPORT_LOUNGE
#app.datasource.core.vcb.password=TGwE247q0Hh7aZAAw6YDT1IP8f+z+SQINE4Gi8GgE48=
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql=TRACE
#spring.data.redis.sentinel.master=redismaster
#spring.data.redis.sentinel.nodes=10.22.18.138:26379,10.22.18.139:26379,10.22.18.140:26379
#spring.data.redis.sentinel.password=dLF5ZnOeOHM6/pzTHezV+WNXU+F7ZBGu85f8bwzk
#spring.data.redis.sentinel.database=17
cors.allowed-origins=http://localhost:4201,http://localhost:4202,http://localhost:4200,http://localhost:4203
#vcb-lounge.redis.time-to-live=600
#spring.cache.type=simple