build(biji-houdaun): 配置生产环境并优化构建流程

- 新增 production环境配置文件 application-prod.yml
- 更新 Dockerfile,设置生产环境变量
- 为 Knife4j 配置添加环境限制,仅在非生产环境激活
- 在 pom.xml 中添加开发和生产环境配置
- 更新编译打包命令文档,增加生产环境构建指令
This commit is contained in:
ikmkj
2025-08-02 19:13:25 +08:00
parent 15ad949da6
commit 508eb0aacb
5 changed files with 46 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
spring:
datasource:
driver-class-name: org.sqlite.JDBC
url: jdbc:sqlite:/data/mydatabase.db
jpa:
hibernate:
ddl-auto: none
show-sql: false
properties:
hibernate:
format_sql: false
dialect: org.hibernate.dialect.SQLiteDialect