Refactor admin component and update application properties for production setup
Gradle _jambotron_build aplication.properties for dev and prod
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
spring.config.import=classpath:/yml_properties/application_development.yml
|
||||
|
||||
spring.application.name=jambotron
|
||||
|
||||
server.port=8082
|
||||
#============Localhost Configurations========================
|
||||
|
||||
spring.datasource.url= jdbc:postgresql://localhost:5432/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:5432/jambotronDB
|
||||
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= ======================spring=back====================
|
||||
app.jwtExpirationMs= 800000
|
||||
app.jwtCookieName=springangularts
|
||||
|
||||
Reference in New Issue
Block a user