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/postgres/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Services/postgres') diff --git a/Services/postgres/docker-compose.yml b/Services/postgres/docker-compose.yml index a0db319..26d502a 100644 --- a/Services/postgres/docker-compose.yml +++ b/Services/postgres/docker-compose.yml @@ -5,6 +5,8 @@ server: memswap_limit: 1g cpu_shares: 8 restart: "on-failure:2" + ports: + - "5432:5432" environment: CONTAINER_TYPE: "service" CONTAINER_SERVICE: "postgresql" -- cgit v1.2.3