From 8ebf6522cd83aa5d965202cff386b5b8e079922a Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 5 Dec 2015 23:19:24 +0100 Subject: expose port to outside in docker-compose files --- Services/mongo/docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Services/mongo/docker-compose.yml') diff --git a/Services/mongo/docker-compose.yml b/Services/mongo/docker-compose.yml index 17982a5..6a76b66 100644 --- a/Services/mongo/docker-compose.yml +++ b/Services/mongo/docker-compose.yml @@ -5,6 +5,9 @@ server: memswap_limit: 2g cpu_shares: 10 restart: "on-failure:2" + ports: + - "27017:27017" + - "28017:28017" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "mongo" -- cgit v1.2.3