update 正式环境配置

This commit is contained in:
小李 2026-01-04 11:43:03 +08:00
parent bda2730a17
commit baa275a863
6 changed files with 75 additions and 3 deletions

View File

@ -6,7 +6,7 @@ spring:
driver-class-name: com.oceanbase.jdbc.Driver
url: jdbc:oceanbase://localhost:2881/tacit?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: password
password: 123456
mybatis-plus:
configuration:

View File

@ -0,0 +1,30 @@
server:
port: 8082
spring:
datasource:
driver-class-name: com.oceanbase.jdbc.Driver
url: jdbc:oceanbase://localhost:2881/tacit?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: password
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*.xml
type-aliases-package: com.tacit.admin.entity
# Swagger Configuration
springdoc:
api-docs:
enabled: true
path: /v3/api-docs
swagger-ui:
enabled: true
path: /swagger-ui.html
# Logging Configuration
logging:
level:
com.tacit.admin: debug

View File

@ -0,0 +1,40 @@
server:
port: 8083
spring:
application:
name: tacit-app-api
config:
import: optional:nacos:localhost:8848?namespace=public&group=DEFAULT_GROUP&file-extension=yml
cloud:
nacos:
discovery:
enabled: true
server-addr: localhost:8848
namespace: public
datasource:
driver-class-name: com.oceanbase.jdbc.Driver
url: jdbc:oceanbase://localhost:3306/tacit?useUnicode=true&characterEncoding=utf-8&useSSL=false
username: root
password: 123456
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*.xml
type-aliases-package: com.tacit.app.entity
# Swagger Configuration
springdoc:
api-docs:
enabled: true
path: /v3/api-docs
swagger-ui:
enabled: true
path: /swagger-ui.html
# Logging Configuration
logging:
level:
com.tacit.app: debug

View File

@ -0,0 +1,2 @@
server:
port: 8081

View File

@ -0,0 +1,2 @@
server:
port: 8081

View File

@ -1,5 +1,3 @@
server:
port: 8081
spring:
profiles:
active: dev