Commit 1decbaa7 by gdj

增加prod配置

parent f3b25e48
......@@ -4,12 +4,14 @@ spring:
main:
allow-bean-definition-overriding: true
application:
name: cloud-api-sample
# name: cloud-api-sample
name: geoair-api
datasource:
druid:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://cloud_api_sample_mysql:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
url: jdbc:mysql://geoair_mysql:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
# url: jdbc:mysql://cloud_api_sample_mysql:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
username: root
password: root
initial-size: 10
......@@ -18,7 +20,8 @@ spring:
max-wait: 60000
redis:
host: cloud_api_sample_redis
host: geoair_redis
# host: cloud_api_sample_redis
port: 6379
database: 0
username: # if you enable
......@@ -45,10 +48,14 @@ mqtt:
# BASIC parameters are required.
BASIC:
protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
host: 203.186.109.106
# host: 203.186.109.106
# host: emqx-broker
# host: 192.168.32.90
port: 44418
# port: 44418
host: 203.186.109.106
port: 54941
# host: emqx-broker
# port: 1883
username: JavaServer
password: 123456
client-id: 123456
......@@ -59,7 +66,8 @@ mqtt:
# host: emqx-broker
# host: 192.168.32.90
# port: 8083
host: geofly-dev.geotwin.cc
# host: geofly-dev.geotwin.cc
host: geofly.geotwin.cc
port: 443
path: /mqtt
username: JavaServer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment