Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions slackjudge/src/main/resources/mongo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ spring.config.activate.on-profile: local
spring:
data:
mongodb:
uri: mongodb://localhost:27017/app
uri: mongodb://localhost:27017
database: app

logging:
level:
Expand All @@ -30,7 +31,8 @@ spring.config.activate.on-profile: prod
spring:
data:
mongodb:
uri: ${MONGO_URL}
uri: ${MONGO_URI}
database: ${MONGO_DATABASE}
username: ${MONGO_USER_NAME}
password: ${MONGO_PASSWORD}
auto-index-creation: false
Expand Down