doc: 配置文件修改

This commit is contained in:
张云杰 2025-11-08 21:38:09 +08:00
parent 78b2b31a47
commit d3825c45b3
3 changed files with 10 additions and 11 deletions

View File

@ -1,5 +1,3 @@
server:
port: 18081
spring: spring:
data: data:
redis: redis:
@ -15,5 +13,5 @@ logging:
com.byhah.cloud: debug com.byhah.cloud: debug
byhah: byhah:
config: config:
url: http://127.0.0.1:8080 url: http://127.0.0.1:18081
server-url: http://127.0.0.1:8080/api/admin server-url: http://127.0.0.1:18081/api/website

View File

@ -2,7 +2,7 @@ spring:
data: data:
redis: redis:
database: 1 database: 1
host: 172.29.2.246 host: 172.21.198.46
port: 6379 port: 6379
timeout: 10s timeout: 10s
lettuce: lettuce:
@ -12,13 +12,13 @@ spring:
max-idle: 10 max-idle: 10
min-idle: 0 min-idle: 0
datasource: datasource:
url: jdbc:postgresql://110.188.24.113:5432/official_website url: jdbc:postgresql://172.21.198.46:5432/official_website
username: postgres username: postgres
password: xj$NJTVz@cT2jQkm password: fA@0aCdB0h1dF5a
springdoc: springdoc:
api-docs: api-docs:
enabled: false enabled: false
byhah: byhah:
config: config:
url: https://byhah url: http://mjhlkj.com
server-url: https://byhah/api/admin server-url: http://mjhlkj.com/api/website

View File

@ -1,11 +1,12 @@
server: server:
servlet: servlet:
context-path: /test context-path: /api/website
port: 18081
spring: spring:
application: application:
name: website-admin name: website-admin
profiles: profiles:
active: dev active: prod
servlet: servlet:
multipart: multipart:
max-request-size: 100MB max-request-size: 100MB