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 --- docker-compose.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'docker-compose.yml') diff --git a/docker-compose.yml b/docker-compose.yml index db3ad25..19f6cd7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,46 +7,71 @@ server_apache: extends: file: Services/apache/docker-compose.yml service: server + ports: + - "80:80" + - "443:443" server_php: extends: file: Services/php/docker-compose.yml service: server + ports: + - "81:80" + - "444:443" server_nodejs: extends: file: Services/nodejs/docker-compose.yml service: server + ports: + - "82:8000" server_mariadb: extends: file: Services/mariadb/docker-compose.yml service: server + ports: + - "3306:3306" server_postgres: extends: file: Services/postgres/docker-compose.yml service: server + ports: + - "5432:5432" server_mongo: extends: file: Services/mongo/docker-compose.yml service: server + ports: + - "27017:27017" + - "28017:28017" server_ooconv: extends: file: Services/ooconv/docker-compose.yml service: server + ports: + - "2002:2002" server_memcache: extends: file: Services/memcache/docker-compose.yml service: server + ports: + - "11211:11211" pma: build: Applications/phpmyadmin/ container_name: "startx-app-phpmyadmin" + ports: + - "82:80" + - "445:443" rockmongo: build: Applications/rockmongo/ - container_name: "startx-app-rockmongo" \ No newline at end of file + container_name: "startx-app-rockmongo" + ports: + - "83:80" + - "446:443" \ No newline at end of file -- cgit v1.2.3