Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9146d09

Browse files
change to local mongo config
1 parent acb835a commit 9146d09

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed
Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
# MongoDB Atlas uri
2-
spring.data.mongodb.uri=mongodb+srv://jackie:aw4I68phhwt33o4Q@cluster0-8w7sg.mongodb.net/test?retryWrites=true&w=majority
3-
spring.data.mongodb.database=restTutorial
4-
server.port=8081
5-
6-
71
# for local mongodb
82
#############################################
9-
#spring.data.mongodb.host=127.0.0.1
10-
#spring.data.mongodb.port=27017
11-
#spring.data.mongodb.authentication-database=
12-
#spring.data.mongodb.username=
13-
#spring.data.mongodb.password=
14-
#spring.data.mongodb.database=rest_tutorial
15-
#server.port=8081
3+
spring.data.mongodb.host=127.0.0.1
4+
spring.data.mongodb.port=27017
5+
spring.data.mongodb.authentication-database=
6+
spring.data.mongodb.username=
7+
spring.data.mongodb.password=
8+
spring.data.mongodb.database=rest_tutorial
9+
server.port=8081

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /