summaryrefslogtreecommitdiffstats
path: root/Applications
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2016-02-10 00:19:19 +0100
committerstartxfr <clarue@startx.fr>2016-02-10 00:19:19 +0100
commit8cce768b6270ec40efa0fde80c5c5b3814a38f20 (patch)
treeb6a5c75e9e71416af1fb9fa0153c4f6eaae17507 /Applications
parentf1083f7abad19c3e5972051600c5be1c6aa391ce (diff)
downloadphpmyadmin-8cce768b6270ec40efa0fde80c5c5b3814a38f20.tar.gz
phpmyadmin-8cce768b6270ec40efa0fde80c5c5b3814a38f20.tar.bz2
phpmyadmin-8cce768b6270ec40efa0fde80c5c5b3814a38f20.tar.xz
phpmyadmin-8cce768b6270ec40efa0fde80c5c5b3814a38f20.zip
update phpMyAdmin
Diffstat (limited to 'Applications')
-rw-r--r--Applications/phpmyadmin/Dockerfile8
-rw-r--r--Applications/phpmyadmin/docker-compose.yml2
2 files changed, 5 insertions, 5 deletions
diff --git a/Applications/phpmyadmin/Dockerfile b/Applications/phpmyadmin/Dockerfile
index c080a1e..2b49cc2 100644
--- a/Applications/phpmyadmin/Dockerfile
+++ b/Applications/phpmyadmin/Dockerfile
@@ -1,15 +1,15 @@
FROM startx/sv-php
MAINTAINER Christophe LARUE <dev@startx.fr>
-RUN cd $TMP_APP_PATH && \
+RUN cd $APP_PATH && \
wget -q https://files.phpmyadmin.net/phpMyAdmin/4.5.2/phpMyAdmin-4.5.2-all-languages.zip && \
unzip phpMyAdmin-4.5.2-all-languages.zip && \
rm -f phpMyAdmin-4.5.2-all-languages.zip && \
mv phpMyAdmin-4.5.2-all-languages/* ./ && \
rm -rf phpMyAdmin-4.5.2-all-languages
-COPY config.inc.php $TMP_APP_PATH/config.inc.php
-COPY test.php $TMP_APP_PATH/test.php
+COPY config.inc.php $APP_PATH/config.inc.php
+COPY test.php $APP_PATH/test.php
EXPOSE 80 443
-VOLUME [$APP_PATH,$LOG_PATH]
+VOLUME [$DATA_PATH,$LOG_PATH]
CMD ["/bin/run.sh"] \ No newline at end of file
diff --git a/Applications/phpmyadmin/docker-compose.yml b/Applications/phpmyadmin/docker-compose.yml
index da7e84e..0610ee1 100644
--- a/Applications/phpmyadmin/docker-compose.yml
+++ b/Applications/phpmyadmin/docker-compose.yml
@@ -1,4 +1,4 @@
-server:
+application:
build: ./
container_name: "application-phpmyadmin"
mem_limit: 500m