diff --git a/tacit-admin/src/main/resources/application-dev.yml b/tacit-admin/src/main/resources/application-dev.yml new file mode 100644 index 0000000..8437fe6 --- /dev/null +++ b/tacit-admin/src/main/resources/application-dev.yml @@ -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 diff --git a/tacit-gateway/src/main/resources/application.yml b/tacit-gateway/src/main/resources/application.yml new file mode 100644 index 0000000..c0233d4 --- /dev/null +++ b/tacit-gateway/src/main/resources/application.yml @@ -0,0 +1,5 @@ +server: + port: 8081 +spring: + profiles: + active: dev