summaryrefslogtreecommitdiffstats
path: root/Services
diff options
context:
space:
mode:
Diffstat (limited to 'Services')
-rw-r--r--Services/apache/README.md5
-rw-r--r--Services/apache/sx/httpd.sh6
-rw-r--r--Services/mariadb/README.md5
-rw-r--r--Services/memcache/README.md4
-rw-r--r--Services/mongo/README.md3
-rw-r--r--Services/nodejs/README.md3
-rw-r--r--Services/ooconv/README.md3
-rw-r--r--Services/php/README.md3
-rw-r--r--Services/postgres/README.md3
-rw-r--r--Services/ssh/README.md5
10 files changed, 29 insertions, 11 deletions
diff --git a/Services/apache/README.md b/Services/apache/README.md
index b42fdd0..d775b03 100644
--- a/Services/apache/README.md
+++ b/Services/apache/README.md
@@ -1,5 +1,6 @@
-# STARTX Services docker-images : PHP Webserver
-This container run apache on fedora server.
+# STARTX Services docker-images : Simple Webserver
+
+Container running httpd daemon under a fedora server
## Running from docker registry
diff --git a/Services/apache/sx/httpd.sh b/Services/apache/sx/httpd.sh
index 04f08b4..0220984 100644
--- a/Services/apache/sx/httpd.sh
+++ b/Services/apache/sx/httpd.sh
@@ -1,12 +1,18 @@
#!/bin/bash
export TERM=dumb
+export HTTPDCONF=/etc/httpd/conf.d/sx.conf
# Begin configuration before starting daemonized process
# and start generating host keys
function begin_config {
echo "=> Begin httpd configuration for host $HOSTNAME"
mkdir -p /var/run/httpd
+ if [ -z "$DOCROOT" ]; then
+ echo "===> Changing document root to $DOCROOT"
+ ${DOCROOT=/var/www/html}
+ echo "DocumentRoot \"$DOCROOT\"" >> $HTTPDCONF
+ fi
}
# End configuration process just before starting daemon
diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md
index 76d4842..0636335 100644
--- a/Services/mariadb/README.md
+++ b/Services/mariadb/README.md
@@ -1,5 +1,6 @@
-# STARTX Services docker-images : MongoDB Server
-This container run mariadb on fedora server.
+# STARTX Services docker-images : MariaDB Server
+
+Container running mysqld daemon under a fedora server
## Running from docker registry
diff --git a/Services/memcache/README.md b/Services/memcache/README.md
index a1c1fc7..0f1d59c 100644
--- a/Services/memcache/README.md
+++ b/Services/memcache/README.md
@@ -1,4 +1,6 @@
-# STARTX Services docker-images : PostgreSQL Server
+# STARTX Services docker-images : Memcache Server
+
+Container running memcached daemon under a fedora server
This container run memcached on fedora server.
## Running from docker registry
diff --git a/Services/mongo/README.md b/Services/mongo/README.md
index dcdc1cc..7d212f0 100644
--- a/Services/mongo/README.md
+++ b/Services/mongo/README.md
@@ -1,5 +1,6 @@
# STARTX Services docker-images : MongoDB Server
-This container run mongod on fedora server.
+
+Container running mongod daemon under a fedora server
## Running from docker registry
diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md
index 974d541..de276b4 100644
--- a/Services/nodejs/README.md
+++ b/Services/nodejs/README.md
@@ -1,5 +1,6 @@
# STARTX Services docker-images : NodeJS Server
-This container run nodejs on fedora server.
+
+Container running nodejs daemon under a fedora server
## Running from docker registry
diff --git a/Services/ooconv/README.md b/Services/ooconv/README.md
index 34a232a..ebd62ee 100644
--- a/Services/ooconv/README.md
+++ b/Services/ooconv/README.md
@@ -1,5 +1,6 @@
# STARTX Services docker-images : NodeJS Server
-This container run ooconv on fedora server.
+
+Container running ooconv daemon under a fedora server
## Running from docker registry
diff --git a/Services/php/README.md b/Services/php/README.md
index 7f1161f..2757a6a 100644
--- a/Services/php/README.md
+++ b/Services/php/README.md
@@ -1,5 +1,6 @@
# STARTX Services docker-images : PHP Webserver
-This container run php via apache on fedora server.
+
+Container running apache + php daemon under a fedora server
## Running from docker registry
diff --git a/Services/postgres/README.md b/Services/postgres/README.md
index ebb5b29..06605ec 100644
--- a/Services/postgres/README.md
+++ b/Services/postgres/README.md
@@ -1,5 +1,6 @@
# STARTX Services docker-images : PostgreSQL Server
-This container run postgres on fedora server.
+
+Container running postgres daemon under a fedora server.
## Running from docker registry
diff --git a/Services/ssh/README.md b/Services/ssh/README.md
index 03d326b..b04d68e 100644
--- a/Services/ssh/README.md
+++ b/Services/ssh/README.md
@@ -1,5 +1,6 @@
# STARTX Services docker-images : SSH Server
-This container run sshd on fedora server. You can overwrite /root/.ssh/autorized_keys with your own list of autorized keys.
+
+Container running sshd daemon under a fedora server. You can add your own list of autorized keys
## Running from docker registry
@@ -13,6 +14,8 @@ Copy sources in your docker host
cd startx-docker-images;
git clone https://github.com/startxfr/docker-images.git .
+You can overwrite /root/.ssh/autorized_keys with your own list of autorized keys.
+
Build the container
docker build -t sv-ssh Services/ssh/