From efdb99f8cecc4afb592afad79c761081d5d5cf22 Mon Sep 17 00:00:00 2001 From: lee <4766465@qq.com> Date: Wed, 18 Dec 2024 13:27:00 +0800 Subject: [PATCH] init --- yami-shop-api/src/main/resources/application-prod.yml | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/yami-shop-api/src/main/resources/application-prod.yml b/yami-shop-api/src/main/resources/application-prod.yml new file mode 100644 index 0000000..f728608 --- /dev/null +++ b/yami-shop-api/src/main/resources/application-prod.yml @@ -0,0 +1,34 @@ +server: + port: 8086 +spring: + datasource: + url: jdbc:mysql://192.168.0.174:3306/yami_bbc?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true + username: root + password: ggy6688. + driver-class-name: com.mysql.cj.jdbc.Driver + type: com.zaxxer.hikari.HikariDataSource + hikari: + minimum-idle: 0 + maximum-pool-size: 100 + idle-timeout: 10000 + auto-commit: true + connection-test-query: select 1 + redis: + host: 192.168.0.171 + port: 6379 + password: 'QpZq2&uX3c' +logging: + config: classpath:logback-spring.xml + +elastic: + address: http://192.168.0.171:9200 + index: product + +image: + url: https://img.tbt.ink/ + +xxl-job: + accessToken: default_token + logPath: /data/applogs/xxl-job/pcdn/jobhandler + admin: + addresses: http://192.168.0.171:8080/xxl-job-admin -- Gitblit v1.9.3