summaryrefslogtreecommitdiffstats
path: root/Applications/rockmongo
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2017-07-23 13:43:36 +0200
committerstartxfr <clarue@startx.fr>2017-07-23 13:43:36 +0200
commitbaf7c43307fb29f5c19b237f418f4f1a59749c3c (patch)
treef62e6e621a29ef9c71c646efda880f06d44109fd /Applications/rockmongo
parentf499157f393a851909e733c9f259a71b619c0d84 (diff)
downloadphpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.tar.gz
phpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.tar.bz2
phpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.tar.xz
phpmyadmin-baf7c43307fb29f5c19b237f418f4f1a59749c3c.zip
adding openshift OS + Bomb for mem and cpu crash test on openshift
Diffstat (limited to 'Applications/rockmongo')
-rw-r--r--Applications/rockmongo/Dockerfile25
-rw-r--r--Applications/rockmongo/README.md43
2 files changed, 0 insertions, 68 deletions
diff --git a/Applications/rockmongo/Dockerfile b/Applications/rockmongo/Dockerfile
deleted file mode 100644
index d714576..0000000
--- a/Applications/rockmongo/Dockerfile
+++ /dev/null
@@ -1,25 +0,0 @@
-FROM startx/sv-php
-MAINTAINER startx dev@startx.fr
-
-# update, install required, clean
-RUN yum -y update && yum install -y httpd php php-devel wget php-pear unzip gcc-c++ make && yum clean all
-
-# update pecl channels
-RUN pecl update-channels
-
-# install mongo drivers without Cyrus SASL (MongoDB Enterprise Authentication)
-RUN printf "no\n" | pecl install mongo && cd /etc && echo "extension=mongo.so" >> /etc/php.d/mongo.ini
-
-# install RockMongo
-RUN cd /root && wget -O rockmongo-1.1.5.zip http://rockmongo.com/downloads/go?id=12 && unzip rockmongo-1.1.5.zip -d /var/www/ && rm -R /var/www/html && mv /var/www/rockmongo/ /var/www/html
-
-# increase php upload size
-RUN sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 10M/g' /etc/php.ini && sed -i 's/post_max_size = 2M/post_max_size = 10M/g' /etc/php.ini
-
-# expose php information
-RUN echo '<?php phpInfo(); ?>' > /var/www/html/info.php
-
-# Expose ports
-EXPOSE 80
-
-CMD [ "/usr/sbin/httpd", "-D", "FOREGROUND" ] \ No newline at end of file
diff --git a/Applications/rockmongo/README.md b/Applications/rockmongo/README.md
deleted file mode 100644
index 10bb5b1..0000000
--- a/Applications/rockmongo/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# STARTX Application docker-images : Rockmongo
-
-Container running rockmongo under a fedora server.
-
-## Running from docker registry
-
- docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo
- when linked to another container
- docker run -d --name="mongo" startx/sv-mongo
- docker run -d -p 80:80 --name="rockmongo" --link mongo:mongo startx/app-rockmongo
-
-## Build and run from local Dockerfile
-### Building docker image
-Copy sources in your docker host
-
- mkdir startx-docker-images;
- cd startx-docker-images;
- git clone https://github.com/startxfr/docker-images.git .
-
-Build the container
-
- docker build -t startx/app-rockmongo Applications/rockmongo/
-
-### Running local image
-
- docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo
-
-## Accessing server
-access to the running webserver
-
- firefox http://localhost:80/rockmongo
-
-access to the container itself
-
- docker exec -it rockmongo bash
-
-## Related Resources
-* [Sources files](https://github.com/startxfr/docker-images/tree/master/Applications/rockmongo)
-* [Github STARTX profile](https://github.com/startxfr/docker-images)
-* [Docker registry for this container](https://registry.hub.docker.com/u/startx/app-rockmongo/)
-* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/)
-
-