summaryrefslogtreecommitdiffstats
path: root/Services
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2014-12-06 01:09:00 +0100
committerstartxfr <clarue@startx.fr>2014-12-06 01:09:00 +0100
commit076db03abf9ac12a057b784a3e0999180ca53543 (patch)
tree86553f1f030a07290a65d1696772488079088e54 /Services
parent391988d9e6ca3dd863d55a2d84189fda6aeb990c (diff)
downloadphpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.tar.gz
phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.tar.bz2
phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.tar.xz
phpmyadmin-076db03abf9ac12a057b784a3e0999180ca53543.zip
adding script for automating image generation and starting container for testing and benchmarks
Diffstat (limited to 'Services')
-rwxr-xr-xServices/dockerhub_run.sh9
-rwxr-xr-xServices/local_build.sh9
-rwxr-xr-xServices/local_run.sh9
3 files changed, 27 insertions, 0 deletions
diff --git a/Services/dockerhub_run.sh b/Services/dockerhub_run.sh
new file mode 100755
index 0000000..18c47a2
--- /dev/null
+++ b/Services/dockerhub_run.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+docker run -d -p 80:80 --name="apache" startx/sv-apache
+docker run -d -p 3306:3306 --name="mariadb" startx/sv-mariadb
+docker run -d -p 11211:11211 --name="memcache" startx/sv-memcache
+docker run -d -p 27017:27017 --name="mongo" startx/sv-mongo
+docker run -d -p 8000:8000 --name="nodejs" startx/sv-nodejs
+docker run -d -p 82:80 --name="php" startx/sv-php
+docker run -d -p 5432:5432 --name="postgres" startx/sv-postgres
+docker run -d -p 22022:22 --name="ssh" startx/sv-ssh \ No newline at end of file
diff --git a/Services/local_build.sh b/Services/local_build.sh
new file mode 100755
index 0000000..47d1df6
--- /dev/null
+++ b/Services/local_build.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+docker build -t sv-apache Services/apache/
+docker build -t sv-mariadb Services/mariadb/
+docker build -t sv-memcache Services/memcache/
+docker build -t sv-mongo Services/mongo/
+docker build -t sv-nodejs Services/nodejs/
+docker build -t sv-php Services/php/
+docker build -t sv-postgres Services/postgres/
+docker build -t sv-ssh Services/ssh/ \ No newline at end of file
diff --git a/Services/local_run.sh b/Services/local_run.sh
new file mode 100755
index 0000000..8c4a027
--- /dev/null
+++ b/Services/local_run.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+docker run -d -p 81:80 --name="lbapache" sv-apache
+docker run -d -p 3307:3306 --name="lbmariadb" sv-mariadb
+docker run -d -p 11212:11211 --name="lbmemcache" sv-memcache
+docker run -d -p 27018:27017 --name="lbmongo" sv-mongo
+docker run -d -p 8001:8000 --name="lbnodejs" sv-nodejs
+docker run -d -p 83:80 --name="lbphp" sv-php
+docker run -d -p 5433:5432 --name="lbpostgres" sv-postgres
+docker run -d -p 22023:22 --name="lbssh" sv-ssh \ No newline at end of file