summaryrefslogtreecommitdiffstats
path: root/Services/php/docker-compose.yml
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 20:11:25 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 20:11:25 +0100
commit59bbf66b7b1e4490694f2c5f732ddf9380acf053 (patch)
tree4fa52b027fc6df1c9b50c3fbaf740086b595b786 /Services/php/docker-compose.yml
parent348568c89ae1ad19270e930c02a1492bc43e99b1 (diff)
downloadphpmyadmin-59bbf66b7b1e4490694f2c5f732ddf9380acf053.tar.gz
phpmyadmin-59bbf66b7b1e4490694f2c5f732ddf9380acf053.tar.bz2
phpmyadmin-59bbf66b7b1e4490694f2c5f732ddf9380acf053.tar.xz
phpmyadmin-59bbf66b7b1e4490694f2c5f732ddf9380acf053.zip
debugging on services. renaming service and use of extends in global docker-copose used in test
Diffstat (limited to 'Services/php/docker-compose.yml')
-rw-r--r--Services/php/docker-compose.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/Services/php/docker-compose.yml b/Services/php/docker-compose.yml
index 2f410ce..04f7ac3 100644
--- a/Services/php/docker-compose.yml
+++ b/Services/php/docker-compose.yml
@@ -1,17 +1,17 @@
-httpd_php:
+server:
build: ./
-# image: sx-httpd_php
- container_name: "sx-httpd_php"
+# image: sx-php
+ container_name: "php-server"
mem_limit: 1g
memswap_limit: 2g
- cpu_shares: 2
+ cpu_shares: 4
restart: "on-failure:2"
environment:
CONTAINER_TYPE: "service"
- CONTAINER_SERVICE: "httpd_php"
- CONTAINER_INSTANCE: "sx-httpd_php"
+ CONTAINER_SERVICE: "php"
+ CONTAINER_INSTANCE: "service-apache_php"
SERVER_NAME: "localhost"
- DOC_ROOT: "/data/httpd_php"
+ DOC_ROOT: "/data/apache_php"
volumes:
- - "/tmp/container/logs/httpd_php:/data/logs/httpd_php"
- - "/tmp/container/httpd_php:/data/httpd_php" \ No newline at end of file
+ - "/tmp/container/logs/apache_php:/data/logs/apache_php"
+ - "/tmp/container/apache_php:/data/apache_php" \ No newline at end of file