diff options
author | startxfr <clarue@startx.fr> | 2015-11-28 19:46:13 +0100 |
---|---|---|
committer | startxfr <clarue@startx.fr> | 2015-11-28 19:46:13 +0100 |
commit | 348568c89ae1ad19270e930c02a1492bc43e99b1 (patch) | |
tree | 97514774d5c27789d9383f5085103eb9775b6a52 /Services/php/docker-compose.yml | |
parent | 05c9aa4a4d3572168878bf0e81eeac724a95454d (diff) | |
download | phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.tar.gz phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.tar.bz2 phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.tar.xz phpmyadmin-348568c89ae1ad19270e930c02a1492bc43e99b1.zip |
Adding display of OS flavour at startup and improving flexibility of services with env param
Diffstat (limited to 'Services/php/docker-compose.yml')
-rw-r--r-- | Services/php/docker-compose.yml | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/Services/php/docker-compose.yml b/Services/php/docker-compose.yml index b8130ef..2f410ce 100644 --- a/Services/php/docker-compose.yml +++ b/Services/php/docker-compose.yml @@ -1,15 +1,17 @@ -apache: +httpd_php: build: ./ -# image: sx-apache - container_name: "sx-apache" +# image: sx-httpd_php + container_name: "sx-httpd_php" 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_php" + CONTAINER_INSTANCE: "sx-httpd_php" + SERVER_NAME: "localhost" + DOC_ROOT: "/data/httpd_php" volumes: - - "/tmp/container/logs:/data/logs" - - "/tmp/container/www:/data/www"
\ No newline at end of file + - "/tmp/container/logs/httpd_php:/data/logs/httpd_php" + - "/tmp/container/httpd_php:/data/httpd_php"
\ No newline at end of file |