diff options
Diffstat (limited to 'Applications')
-rwxr-xr-x | Applications/dockerhub_run.sh | 3 | ||||
-rwxr-xr-x | Applications/local_build.sh | 3 | ||||
-rwxr-xr-x | Applications/local_run.sh | 3 | ||||
-rw-r--r-- | Applications/phpmyadmin/Dockerfile | 6 | ||||
-rw-r--r-- | Applications/phpmyadmin/config.php (renamed from Applications/phpmyadmin/config.inc.php) | 0 |
5 files changed, 12 insertions, 3 deletions
diff --git a/Applications/dockerhub_run.sh b/Applications/dockerhub_run.sh new file mode 100755 index 0000000..2c25afb --- /dev/null +++ b/Applications/dockerhub_run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker run -d -p 84:80 --name="pma" startx/app-pma +docker run -d -p 86:80 --name="rockmongo" startx/app-rockmongo
\ No newline at end of file diff --git a/Applications/local_build.sh b/Applications/local_build.sh new file mode 100755 index 0000000..975a33e --- /dev/null +++ b/Applications/local_build.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker build -t app-pma Applications/phpmyadmin/ +docker build -t app-rockmongo Applications/rockmongo/
\ No newline at end of file diff --git a/Applications/local_run.sh b/Applications/local_run.sh new file mode 100755 index 0000000..3ae7183 --- /dev/null +++ b/Applications/local_run.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker run -d -p 85:80 --name="lbpma" app-pma +docker run -d -p 87:80 --name="lbrockmongo" app-rockmongo
\ No newline at end of file diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile index e17dbef..d63c460 100644 --- a/Applications/phpmyadmin/Dockerfile +++ b/Applications/phpmyadmin/Dockerfile @@ -3,10 +3,10 @@ MAINTAINER Christophe LARUE <dev@startx.fr> RUN yum -y install phpMyAdmin \ && yum clean all -COPY config.inc.php /etc/phpMyAdmin/config.inc.php +COPY config.php /etc/phpMyAdmin/config.inc.php COPY test.php /var/www/html/test.php EXPOSE 80 EXPOSE 443 - -ENTRYPOINT ["/usr/sbin/apachectl", "-D FOREGROUND"]
\ No newline at end of file +VOLUME ["/var/www/html", "/var/log/httpd"] +CMD ["/sx/httpd_run.sh"]
\ No newline at end of file diff --git a/Applications/phpmyadmin/config.inc.php b/Applications/phpmyadmin/config.php index 20e4276..20e4276 100644 --- a/Applications/phpmyadmin/config.inc.php +++ b/Applications/phpmyadmin/config.php |