@@ -1,2 +1,2 @@
#!/bin/bash
-./bin/cli composer "$@"
+./bin/cli su -c "composer '$@'" -s /bin/bash app
@@ -1,3 +1,3 @@
[ -z "$1" ] && echo "Please specify a mage command (ex. cache:flush)" && exit
-./bin/cli ./mage "$@"
+./bin/cli su -c "./mage '$@'" -s /bin/bash app
-./bin/cli ./bin/magento "$@"
+./bin/cli su -c "./bin/magento '$@'" -s /bin/bash app
@@ -23,5 +23,3 @@ echo "Turning on developer mode.."
./bin/magento deploy:mode:set developer
./bin/magento indexer:reindex
-
-./bin/fixperms
@@ -1,10 +1,13 @@
+# Mark Shust's Magento Docker Compose (https://github.com/markoshust/magento-docker)
+# Version 11.1.2
+
version: "3"
services:
app:
volumes: &appvolumes
- magento222_appdata:/var/www/html:nocopy
- - ~/.composer:/var/www/.composer
+ - ~/.composer:/var/www/html/var/composer_home
phpfpm:
volumes: *appvolumes
@@ -1,5 +1,5 @@
# Mark Shust's Magento Docker Compose (https://github.com/markoshust/magento-docker)
-# Version 11.0.0
@@ -1,3 +1,6 @@
version: "2"
syncs: