summaryrefslogtreecommitdiffstats
path: root/Services/php/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Services/php/docker-compose.yml')
-rw-r--r--Services/php/docker-compose.yml18
1 files changed, 9 insertions, 9 deletions
diff --git a/Services/php/docker-compose.yml b/Services/php/docker-compose.yml
index 2f410ce..04f7ac3 100644
--- a/Services/php/docker-compose.yml
+++ b/Services/php/docker-compose.yml
@@ -1,17 +1,17 @@
-httpd_php:
+server:
build: ./
-# image: sx-httpd_php
- container_name: "sx-httpd_php"
+# image: sx-php
+ container_name: "php-server"
mem_limit: 1g
memswap_limit: 2g
- cpu_shares: 2
+ cpu_shares: 4
restart: "on-failure:2"
environment:
CONTAINER_TYPE: "service"
- CONTAINER_SERVICE: "httpd_php"
- CONTAINER_INSTANCE: "sx-httpd_php"
+ CONTAINER_SERVICE: "php"
+ CONTAINER_INSTANCE: "service-apache_php"
SERVER_NAME: "localhost"
- DOC_ROOT: "/data/httpd_php"
+ DOC_ROOT: "/data/apache_php"
volumes:
- - "/tmp/container/logs/httpd_php:/data/logs/httpd_php"
- - "/tmp/container/httpd_php:/data/httpd_php" \ No newline at end of file
+ - "/tmp/container/logs/apache_php:/data/logs/apache_php"
+ - "/tmp/container/apache_php:/data/apache_php" \ No newline at end of file