diff --git a/phpcontainer/sample-extends.yml b/phpcontainer/sample-extends.yml new file mode 100644 index 0000000..e5fa0d4 --- /dev/null +++ b/phpcontainer/sample-extends.yml @@ -0,0 +1,10 @@ +version: '3.4' + +services: + php-apache: + extends: + file: ${COOKBOOK}/phpcontainer/docker-compose.yml + service: php-apache + volumes: + - "./project:/data" + - "./config/php.ini:/usr/local/etc/php/php.ini" \ No newline at end of file diff --git a/phpcontainer/sample.env b/phpcontainer/sample.env new file mode 100644 index 0000000..ceb825f --- /dev/null +++ b/phpcontainer/sample.env @@ -0,0 +1,2 @@ +PHPCONTAINER_IMAGE=4lights/phpcontainer:v4 +VOL_PATH=/project-dir/project-name/data #HELP: volpath \ No newline at end of file