From 15d8c51d28fa2245886b732df5373eedb2dde0cf Mon Sep 17 00:00:00 2001
From: startxfr <clarue@startx.fr>
Date: Mon, 7 Dec 2015 01:42:57 +0100
Subject: update container naming and fix phpmyadmin.

---
 Services/php/docker-compose.yml | 2 +-
 Services/php/run.sh             | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

(limited to 'Services/php')

diff --git a/Services/php/docker-compose.yml b/Services/php/docker-compose.yml
index 22b7585..fe532d9 100644
--- a/Services/php/docker-compose.yml
+++ b/Services/php/docker-compose.yml
@@ -1,6 +1,6 @@
 server:
   build: ./
-  container_name: "php-server"
+  container_name: "service-php"
   mem_limit: 1g
   memswap_limit: 1g
   cpu_shares: 5
diff --git a/Services/php/run.sh b/Services/php/run.sh
index 657fbba..1e73c2f 100644
--- a/Services/php/run.sh
+++ b/Services/php/run.sh
@@ -53,6 +53,7 @@ function begin_php_config {
 # End configuration process just before starting daemon
 function end_php_config {
     echo "=> END APACHE + PHP CONFIGURATION"
+    env | grep _ >> /etc/environment
 }
 
 check_httpd_environment | tee -a $STARTUPLOG
-- 
cgit v1.2.3