优化构建流程,采用统一标准
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
# 开发环境配置
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: light-delivery-backend-dev
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.light.delivery: DEBUG
|
||||
|
||||
# JWT配置
|
||||
jwt:
|
||||
secret: lightDeliveryDevSecretKey
|
||||
expiration: 86400
|
@@ -1,20 +0,0 @@
|
||||
# 生产环境配置
|
||||
server:
|
||||
port: 443
|
||||
ssl:
|
||||
key-store-type: PKCS12
|
||||
key-store: /etc/ssl/certs/www.doubleyin.cn.pfx
|
||||
key-store-password: ${KEY_STORE_PASSWORD}
|
||||
|
||||
spring:
|
||||
application:
|
||||
name: light-delivery-backend-prod
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.light.delivery: INFO
|
||||
|
||||
# JWT配置
|
||||
jwt:
|
||||
secret: lightDeliveryProdSecretKey
|
||||
expiration: 86400
|
@@ -1,4 +1,11 @@
|
||||
spring.application.name=Light
|
||||
# æå¡å¨ç«¯å£é
ç½®
|
||||
server.port=443
|
||||
|
||||
# SSLé
ç½®
|
||||
server.ssl.key-store-type=PKCS12
|
||||
server.ssl.key-store=/etc/ssl/certs/www.doubleyin.cn.pfx
|
||||
server.ssl.key-store-password=${KEY_STORE_PASSWORD}
|
||||
|
||||
# --- MySQL Database Configuration (Remote Server) ---
|
||||
spring.datasource.url=jdbc:mysql://115.190.121.151:3306/light_delivery?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||||
@@ -31,8 +38,8 @@ wx.api.access-token-url=https://api.weixin.qq.com/cgi-bin/token?grant_type=clien
|
||||
wx.api.code2session-url=https://api.weixin.qq.com/sns/jscode2session
|
||||
|
||||
# Logging Configuration
|
||||
logging.level.com.light.delivery.config=DEBUG
|
||||
logging.level.com.light.delivery=INFO
|
||||
|
||||
# JWT Configuration
|
||||
jwt.secret=R/GuND+mK487AS+bUW5uqGmt5dyCkPf3g+uRdxHBY1eYEhxxG1cNgnfrk0l+vv+Xi8werl4P2lDAs0gaiqAqRA==
|
||||
jwt.secret=lightDeliveryProdSecretKey
|
||||
jwt.expiration=86400
|
@@ -1,16 +0,0 @@
|
||||
# 默认配置
|
||||
spring:
|
||||
profiles:
|
||||
active: dev
|
||||
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
logging:
|
||||
level:
|
||||
com.light.delivery: DEBUG
|
||||
|
||||
# JWT配置
|
||||
jwt:
|
||||
secret: lightDeliverySecretKey
|
||||
expiration: 86400
|
Reference in New Issue
Block a user