Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-mongodb
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
spring-boot-mongodb
Commits
2490b0a5
Commit
2490b0a5
authored
Jul 16, 2018
by
jwrwst
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改链接
parent
4b93f469
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
application.properties
src/main/resources/application.properties
+3
-3
No files found.
src/main/resources/application.properties
View file @
2490b0a5
...
@@ -35,7 +35,7 @@ server.tomcat.uri-encoding=UTF-8
...
@@ -35,7 +35,7 @@ server.tomcat.uri-encoding=UTF-8
# mongodb设置############################
# mongodb设置############################
#spring.data.mongodb.uri=mongodb://user:secret@mongo1.example.com:12345,mongo2.example.com:23456/test
#spring.data.mongodb.uri=mongodb://user:secret@mongo1.example.com:12345,mongo2.example.com:23456/test
spring.data.mongodb.host
=
1
27.0.0.
1
spring.data.mongodb.host
=
1
18.190.154.25
1
spring.data.mongodb.port
=
27017
spring.data.mongodb.port
=
27017
spring.data.mongodb.database
=
dbtest
spring.data.mongodb.database
=
dbtest
spring.data.mongodb.uri
=
mongodb://127.0.0.1:27017/dbtest
spring.data.mongodb.uri
=
mongodb://118.190.154.251:27017/dbtest
\ No newline at end of file
\ No newline at end of file
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