You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/10/19 13:37:34 UTC
[09/50] [abbrv] allura git commit: [#7995] expose port 27017 for
mongo access from host
[#7995] expose port 27017 for mongo access from host
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/b036c1c9
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/b036c1c9
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/b036c1c9
Branch: refs/heads/ib/7924
Commit: b036c1c9f963c713183fe8de2d6c2959f0283cbe
Parents: 8142fb6
Author: Dave Brondsema <da...@brondsema.net>
Authored: Thu Sep 24 12:40:10 2015 -0400
Committer: Heith Seewald <hs...@hsmb.local>
Committed: Fri Sep 25 16:07:28 2015 -0500
----------------------------------------------------------------------
Allura/docs/getting_started/installation.rst | 4 ++--
docker-compose.yml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/b036c1c9/Allura/docs/getting_started/installation.rst
----------------------------------------------------------------------
diff --git a/Allura/docs/getting_started/installation.rst b/Allura/docs/getting_started/installation.rst
index 18a740e..203d6f5 100644
--- a/Allura/docs/getting_started/installation.rst
+++ b/Allura/docs/getting_started/installation.rst
@@ -264,7 +264,7 @@ Ports, exposed to host system
- 8080 - webapp
- 8983 - SOLR admin panel (http://localhost:8983/solr/)
- 8825 - incoming mail listener
-
+- 27017 - mongodb
First run
^^^^^^^^^
@@ -353,7 +353,7 @@ Running subset of tests:
~$ docker-compose run web bash -c 'cd ForgeGit && nosetests forgegit.tests.functional.test_controllers:TestFork'
-Connecting to mongo directly:
+Connecting to mongo using a container:
.. code-block:: bash
http://git-wip-us.apache.org/repos/asf/allura/blob/b036c1c9/docker-compose.yml
----------------------------------------------------------------------
diff --git a/docker-compose.yml b/docker-compose.yml
index 3606980..155a421 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -58,8 +58,8 @@ solr:
mongo:
image: mongo:2.6
- expose:
- - "27017"
+ ports:
+ - "27017:27017"
volumes:
- /allura-data/mongo:/data/db
command: mongod --smallfiles