diff --git a/configure.js b/configure.js index cbff92b..205f28a 100644 --- a/configure.js +++ b/configure.js @@ -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; diff --git a/docker/Dockerfile.mongodb b/docker/Dockerfile.mongodb index 8e3b4b6..d54f753 100644 --- a/docker/Dockerfile.mongodb +++ b/docker/Dockerfile.mongodb @@ -3,3 +3,5 @@ FROM mongo:latest # Expose the default MongoDB port EXPOSE 27017 + +COMMAND ['--logpath', '/somewhere/specific.log'] diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 2764f77..6b76506 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -17,4 +17,6 @@ services: ports: - "3000:3000" depends_on: + - mongodb + links: - mongodb \ No newline at end of file