开发环境

This commit is contained in:
attiya 2025-09-01 15:25:27 +08:00
parent 03942028f4
commit 41a692d690

View File

@ -8,14 +8,20 @@ spring:
server-addr: 127.0.0.1:8848 # nacos server-addr: 127.0.0.1:8848 # nacos
username: nacos username: nacos
password: nacos password: nacos
sql:
init:
platform: postgis
mode: never
schema-locations: classpath:db/init.sql
data-locations: classpath:db/data.sql
jackson: jackson:
serialization: serialization:
write-dates-as-timestamps: false write-dates-as-timestamps: false
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8 time-zone: GMT+8
datasource: datasource:
url: jdbc:postgresql://192.168.1.31:5433/ebike_staff??currentSchema=public&stringtype=unspecified url: jdbc:postgresql://47.109.71.130:5432/ebike_staff?currentSchema=public&stringtype=unspecified
username: postgres username: root
password: 970529 password: 970529
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
hikari: hikari:
@ -36,11 +42,11 @@ spring:
# Redis数据库索引默认为0 # Redis数据库索引默认为0
database: 1 database: 1
# Redis服务器地址 # Redis服务器地址
host: 192.168.1.31 host: 47.109.71.130
# Redis服务器连接端口 # Redis服务器连接端口
port: 6379 port: 6379
# Redis服务器连接密码默认为空 # Redis服务器连接密码默认为空
# password: password: 970529
# 连接超时时间 # 连接超时时间
lettuce: lettuce:
pool: pool: