60 lines
1.9 KiB
Properties
60 lines
1.9 KiB
Properties
spring.config.import=classpath:/yml_properties/application_development.yml
|
|
|
|
spring.application.name=jambotron
|
|
|
|
server.port=8082
|
|
#============Localhost Configurations========================
|
|
|
|
spring.datasource.url= jdbc:postgresql://localhost:5433/jambotronDB
|
|
spring.datasource.username= admin
|
|
spring.datasource.password= postgrespw
|
|
|
|
spring.flyway.baseline-on-migrate=true
|
|
spring.flyway.validate-on-migrate=true
|
|
|
|
spring.flyway.url=jdbc:postgresql://localhost:5433/jambotronDB
|
|
spring.flyway.user=admin
|
|
spring.flyway.password=postgrespw
|
|
|
|
#spring.datasource.url= jdbc:postgresql://localhost:5433/db_for_import
|
|
#spring.datasource.username= admin
|
|
#spring.datasource.password= postgrespw
|
|
#
|
|
#spring.flyway.enabled=false
|
|
##spring.flyway.baseline-on-migrate=true
|
|
##spring.flyway.validate-on-migrate=true
|
|
##
|
|
##spring.flyway.url=jdbc:postgresql://localhost:5433/db_for_import
|
|
##spring.flyway.user=admin
|
|
##spring.flyway.password=postgrespw
|
|
|
|
#============jpa=====================
|
|
|
|
spring.jpa.properties.hibernate.dialect= org.hibernate.dialect.PostgreSQLDialect
|
|
# Hibernate ddl auto (create, create-drop, validate, update)
|
|
#spring.jpa.hibernate.ddl-auto= update
|
|
spring.jpa.show-sql=true
|
|
|
|
#=============Zhipuai Configurations========================
|
|
|
|
spring.ai.zhipuai.base-url=https://open.bigmodel.cn/api/paas/v4/images/generations
|
|
spring.ai.zhipuai.api-key = 628447c8c65845a48a7226391464a2ea.Dw8ci6TiW0BRF5LI
|
|
|
|
|
|
#============ Custom App Properties
|
|
app.jwtSecret= ======================jambotron=back=================
|
|
app.jwtCookieName=jambotron-jwt-cookie
|
|
app.jwtRefreshCookieName= jambotron-jwt-cookie-refresh
|
|
app.jwtExpirationMs= 800000
|
|
app.jwtRefreshExpirationMs= 86400000
|
|
|
|
#app.jwtExpirationMs= 30000
|
|
#app.jwtRefreshExpirationMs= 60000
|
|
|
|
#=============File Upload Configurations========================
|
|
spring.servlet.multipart.max-file-size=50MB
|
|
spring.servlet.multipart.max-request-size=50MB
|
|
|
|
|
|
server.tomcat.max-swallow-size=100MB
|
|
#============= |