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.

47 lines
1.8 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. spring.application.name=adjustment_file_management_system
  2. server.port=8190
  3. server.address=0.0.0.0
  4. # 30 minutes
  5. server.servlet.session.timeout=30m
  6. # ===============================
  7. # Oracle Database Configuration
  8. # ===============================
  9. # Production DB server
  10. # spring.datasource.url=jdbc:oracle:thin:@10.1.0.14:1521:chncorp
  11. # spring.datasource.username=fileadjust
  12. # spring.datasource.password=fileadjust
  13. spring.datasource.url=${DB_URL}
  14. spring.datasource.username=${DB_USERNAME}
  15. spring.datasource.password=${DB_PASSWORD}
  16. # Local DB server
  17. # spring.datasource.url=jdbc:oracle:thin:@//localhost:1521/XEPDB1
  18. # spring.datasource.username=gcc
  19. # spring.datasource.password=product
  20. spring.datasource.driver-class-name=oracle.jdbc.OracleDriver
  21. # ===============================
  22. # JPA / Hibernate Config
  23. # ===============================
  24. # spring.jpa.database-platform=org.hibernate.dialect.OracleDialect
  25. spring.jpa.hibernate.ddl-auto=update
  26. spring.jpa.show-sql=true
  27. spring.jpa.properties.hibernate.format_sql=true
  28. spring.jpa.open-in-view=true
  29. logging.level.org.hibernate.SQL=DEBUG
  30. # logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
  31. logging.level.org.hibernate.type.descriptor.sql=TRACE
  32. # Directory/Folder to store uploaded files (can be used anywhere in the app using @Value or Environment)
  33. # Relative path inside project root
  34. file.data.upload-dir=uploads/file-data/
  35. # Max file size (single file)
  36. spring.servlet.multipart.max-file-size=100MB
  37. # Max request size (total request size including multiple files)
  38. spring.servlet.multipart.max-request-size=400MB
  39. # To enable forced HTTPS for CSRF (false for dev/testing and https is disabled, true for production only if https is enabled)
  40. # (can be used anywhere in the app using @Value or Environment)
  41. app.security.force-https=${FORCE_HTTPS:false}