From 151b31b6f47fb3d96afdd66138ff40d92cac6202 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 14:39:12 +0100 Subject: mise en place du service apache --- Services/apache/docker-compose.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Services/apache/docker-compose.yml (limited to 'Services/apache/docker-compose.yml') 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 -- cgit v1.2.3