You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

48 lines
1.8 KiB

spring.application.name=adjustment_file_management_system
server.port=8190
server.address=0.0.0.0
# 30 minutes
server.servlet.session.timeout=30m
# ===============================
# Oracle Database Configuration
# ===============================
# Production DB server
# spring.datasource.url=jdbc:oracle:thin:@10.1.0.14:1521:chncorp
# spring.datasource.username=fileadjust
# spring.datasource.password=fileadjust
spring.datasource.url=${DB_URL}
spring.datasource.username=${DB_USERNAME}
spring.datasource.password=${DB_PASSWORD}
# Local DB server
# spring.datasource.url=jdbc:oracle:thin:@//localhost:1521/XEPDB1
# spring.datasource.username=gcc
# spring.datasource.password=product
spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
# ===============================
# JPA / Hibernate Config
# ===============================
# spring.jpa.database-platform=org.hibernate.dialect.OracleDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.open-in-view=true
logging.level.org.hibernate.SQL=DEBUG
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.org.hibernate.type.descriptor.sql=TRACE
# Directory/Folder to store uploaded files (can be used anywhere in the app using @Value or Environment)
# Relative path inside project root
file.data.upload-dir=uploads/file-data/
# Max file size (single file)
spring.servlet.multipart.max-file-size=100MB
# Max request size (total request size including multiple files)
spring.servlet.multipart.max-request-size=400MB
# To enable forced HTTPS for CSRF (false for dev/testing and https is disabled, true for production only if https is enabled)
# (can be used anywhere in the app using @Value or Environment)
app.security.force-https=${FORCE_HTTPS:false}