Skip to content

Commit

Permalink
changed port
Browse files Browse the repository at this point in the history
Signed-off-by: Your Name <[email protected]>
  • Loading branch information
Your Name committed Nov 14, 2023
1 parent 3586e5f commit 34aa4d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ var config = {};

config.mongo_db = {};

config.mongo_db.connection_string = "mongodb://127.0.0.1:27017";
config.mongo_db.connection_string = "mongodb://172.19.0.2:27017";

module.exports = config;
2 changes: 2 additions & 0 deletions docker/Dockerfile.mongodb
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ FROM mongo:latest

# Expose the default MongoDB port
EXPOSE 27017

COMMAND ['--logpath', '/somewhere/specific.log']
2 changes: 2 additions & 0 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ services:
ports:
- "3000:3000"
depends_on:
- mongodb
links:
- mongodb

0 comments on commit 34aa4d9

Please sign in to comment.