summaryrefslogtreecommitdiffstats
path: root/Services/apache/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Services/apache/docker-compose.yml')
-rw-r--r--Services/apache/docker-compose.yml15
1 files changed, 8 insertions, 7 deletions
diff --git a/Services/apache/docker-compose.yml b/Services/apache/docker-compose.yml
index e0a016f..205a439 100644
--- a/Services/apache/docker-compose.yml
+++ b/Services/apache/docker-compose.yml
@@ -1,16 +1,17 @@
-apache:
+httpd:
build: ./
-# image: sx-apache
- container_name: "sx-apache"
+# image: sx-httpd
+ container_name: "sx-httpd"
mem_limit: 1g
memswap_limit: 2g
cpu_shares: 2
restart: "on-failure:2"
environment:
CONTAINER_TYPE: "service"
- CONTAINER_SERVICE: "apache"
- CONTAINER_INSTANCE: "sx-apache"
+ CONTAINER_SERVICE: "httpd"
+ CONTAINER_INSTANCE: "sx-httpd"
SERVER_NAME: "localhost"
+ DOC_ROOT: "/data/httpd"
volumes:
- - "/tmp/container/logs:/data/logs"
- - "/tmp/container/www:/data/www" \ No newline at end of file
+ - "/tmp/container/logs/httpd:/data/logs/httpd"
+ - "/tmp/container/httpd:/data/httpd" \ No newline at end of file