Commit 1decbaa7 by gdj

增加prod配置

parent f3b25e48
...@@ -4,12 +4,14 @@ spring: ...@@ -4,12 +4,14 @@ spring:
main: main:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
application: application:
name: cloud-api-sample # name: cloud-api-sample
name: geoair-api
datasource: datasource:
druid: druid:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver 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 username: root
password: root password: root
initial-size: 10 initial-size: 10
...@@ -18,7 +20,8 @@ spring: ...@@ -18,7 +20,8 @@ spring:
max-wait: 60000 max-wait: 60000
redis: redis:
host: cloud_api_sample_redis host: geoair_redis
# host: cloud_api_sample_redis
port: 6379 port: 6379
database: 0 database: 0
username: # if you enable username: # if you enable
...@@ -45,10 +48,14 @@ mqtt: ...@@ -45,10 +48,14 @@ mqtt:
# BASIC parameters are required. # BASIC parameters are required.
BASIC: BASIC:
protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
host: 203.186.109.106 # host: 203.186.109.106
# host: emqx-broker # host: emqx-broker
# host: 192.168.32.90 # host: 192.168.32.90
port: 44418 # port: 44418
host: 203.186.109.106
port: 54941
# host: emqx-broker
# port: 1883
username: JavaServer username: JavaServer
password: 123456 password: 123456
client-id: 123456 client-id: 123456
...@@ -59,7 +66,8 @@ mqtt: ...@@ -59,7 +66,8 @@ mqtt:
# host: emqx-broker # host: emqx-broker
# host: 192.168.32.90 # host: 192.168.32.90
# port: 8083 # port: 8083
host: geofly-dev.geotwin.cc # host: geofly-dev.geotwin.cc
host: geofly.geotwin.cc
port: 443 port: 443
path: /mqtt path: /mqtt
username: JavaServer 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