summaryrefslogtreecommitdiffstats
path: root/Services/apache/docker-compose.yml
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 14:39:12 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 14:39:12 +0100
commit151b31b6f47fb3d96afdd66138ff40d92cac6202 (patch)
treec9d3acd3354a0dcb8e65a641a6583669c55acd01 /Services/apache/docker-compose.yml
parent18a451ed0758a4f9736fd4ac68d3c51e4ea8d773 (diff)
downloadphpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.gz
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.bz2
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.tar.xz
phpmyadmin-151b31b6f47fb3d96afdd66138ff40d92cac6202.zip
mise en place du service apache
Diffstat (limited to 'Services/apache/docker-compose.yml')
-rw-r--r--Services/apache/docker-compose.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/Services/apache/docker-compose.yml b/Services/apache/docker-compose.yml
new file mode 100644
index 0000000..b8130ef
--- /dev/null
+++ b/Services/apache/docker-compose.yml
@@ -0,0 +1,15 @@
+apache:
+ build: ./
+# image: sx-apache
+ container_name: "sx-apache"
+ mem_limit: 1g
+ memswap_limit: 2g
+ cpu_shares: 2
+ restart: "on-failure:2"
+ environment:
+ CONTAINER_TYPE: "service"
+ CONTAINER_SERVICE: "apache"
+ CONTAINER_INSTANCE: "sx-apache"
+ volumes:
+ - "/tmp/container/logs:/data/logs"
+ - "/tmp/container/www:/data/www" \ No newline at end of file