summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Services/apache/docker-compose.yml3
-rw-r--r--Services/mariadb/docker-compose.yml2
-rw-r--r--Services/memcache/docker-compose.yml2
-rw-r--r--Services/mongo/docker-compose.yml3
-rw-r--r--Services/nodejs/docker-compose.yml2
-rw-r--r--Services/ooconv/docker-compose.yml2
-rw-r--r--Services/php/docker-compose.yml3
-rw-r--r--Services/postgres/docker-compose.yml2
-rw-r--r--docker-compose-app.yml8
-rw-r--r--docker-compose-sv.yml19
-rw-r--r--docker-compose.yml27
11 files changed, 71 insertions, 2 deletions
diff --git a/Services/apache/docker-compose.yml b/Services/apache/docker-compose.yml
index 42e1f23..bb4617f 100644
--- a/Services/apache/docker-compose.yml
+++ b/Services/apache/docker-compose.yml
@@ -5,6 +5,9 @@ server:
memswap_limit: 500m
cpu_shares: 2
restart: "on-failure:2"
+ ports:
+ - "80:80"
+ - "443:443"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "apache"
diff --git a/Services/mariadb/docker-compose.yml b/Services/mariadb/docker-compose.yml
index e81fb36..a42f575 100644
--- a/Services/mariadb/docker-compose.yml
+++ b/Services/mariadb/docker-compose.yml
@@ -5,6 +5,8 @@ server:
memswap_limit: 1g
cpu_shares: 8
restart: "on-failure:2"
+ ports:
+ - "3306:3306"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "mariadb"
diff --git a/Services/memcache/docker-compose.yml b/Services/memcache/docker-compose.yml
index 8e657e3..b907088 100644
--- a/Services/memcache/docker-compose.yml
+++ b/Services/memcache/docker-compose.yml
@@ -5,6 +5,8 @@ server:
memswap_limit: 3g
cpu_shares: 2
restart: "on-failure:2"
+ ports:
+ - "11211:11211"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "memcache"
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"
diff --git a/Services/nodejs/docker-compose.yml b/Services/nodejs/docker-compose.yml
index af118ec..48774e0 100644
--- a/Services/nodejs/docker-compose.yml
+++ b/Services/nodejs/docker-compose.yml
@@ -5,6 +5,8 @@ server:
memswap_limit: 1g
cpu_shares: 5
restart: "on-failure:2"
+ ports:
+ - "8000:8000"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "nodejs"
diff --git a/Services/ooconv/docker-compose.yml b/Services/ooconv/docker-compose.yml
index 48b535c..d151395 100644
--- a/Services/ooconv/docker-compose.yml
+++ b/Services/ooconv/docker-compose.yml
@@ -5,6 +5,8 @@ server:
memswap_limit: 2g
cpu_shares: 8
restart: "on-failure:2"
+ ports:
+ - "2002:2002"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "ooconv"
diff --git a/Services/php/docker-compose.yml b/Services/php/docker-compose.yml
index beff9fe..1b6d62a 100644
--- a/Services/php/docker-compose.yml
+++ b/Services/php/docker-compose.yml
@@ -5,6 +5,9 @@ server:
memswap_limit: 1g
cpu_shares: 5
restart: "on-failure:2"
+ ports:
+ - "80:80"
+ - "443:443"
environment:
CONTAINER_TYPE: "service"
CONTAINER_SERVICE: "php"
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"
diff --git a/docker-compose-app.yml b/docker-compose-app.yml
index 8f942d4..4c2dc3b 100644
--- a/docker-compose-app.yml
+++ b/docker-compose-app.yml
@@ -1,7 +1,13 @@
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
diff --git a/docker-compose-sv.yml b/docker-compose-sv.yml
index 532ba9e..82ca13e 100644
--- a/docker-compose-sv.yml
+++ b/docker-compose-sv.yml
@@ -2,38 +2,57 @@ 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"
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