From 59bbf66b7b1e4490694f2c5f732ddf9380acf053 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 20:11:25 +0100 Subject: debugging on services. renaming service and use of extends in global docker-copose used in test --- Services/apache/docker-compose.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'Services/apache/docker-compose.yml') 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 -- cgit v1.2.3