Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeoFlyApi
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GeoFly
GeoFlyApi
Commits
1decbaa7
Commit
1decbaa7
authored
Apr 29, 2025
by
gdj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加prod配置
parent
f3b25e48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
sample/src/main/resources/application.yml
+14
-6
No files found.
sample/src/main/resources/application.yml
View file @
1decbaa7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment