summaryrefslogtreecommitdiffstats
path: root/Services/apache/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/apache/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/apache/docker-compose.yml')
-rw-r--r--Services/apache/docker-compose.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/Services/apache/docker-compose.yml b/Services/apache/docker-compose.yml
index 205a439..8e951bc 100644
--- a/Services/apache/docker-compose.yml
+++ b/Services/apache/docker-compose.yml
@@ -1,17 +1,17 @@
-httpd:
+server:
build: ./
-# image: sx-httpd
- container_name: "sx-httpd"
+# image: sv-apache
+ container_name: "apache-server"
mem_limit: 1g
memswap_limit: 2g
cpu_shares: 2
restart: "on-failure:2"
environment:
CONTAINER_TYPE: "service"
- CONTAINER_SERVICE: "httpd"
- CONTAINER_INSTANCE: "sx-httpd"
+ CONTAINER_SERVICE: "apache"
+ CONTAINER_INSTANCE: "service-apache"
SERVER_NAME: "localhost"
- DOC_ROOT: "/data/httpd"
+ DOC_ROOT: "/data/apache"
volumes:
- - "/tmp/container/logs/httpd:/data/logs/httpd"
- - "/tmp/container/httpd:/data/httpd" \ No newline at end of file
+ - "/tmp/container/logs/apache:/data/logs/apache"
+ - "/tmp/container/apache:/data/apache" \ No newline at end of file