File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ while true; do
14
14
esac
15
15
done
16
16
17
+ # Run pre install script, if exists
18
+ if [ -f " $APP_DIRECTORY /scripts/magento-pre-install" ]
19
+ then
20
+ $APP_DIRECTORY /scripts/magento-pre-install
21
+ fi
22
+
17
23
# Install Magento
18
24
docker-compose exec -T php-fpm /home/dockeruser/magento/bin/magento setup:install \
19
25
--base-url=http://magento.local \
@@ -51,6 +57,13 @@ docker-compose exec -T php-fpm /home/dockeruser/magento/bin/magento setup:instal
51
57
--amqp-virtualhost=" /" \
52
58
--cleanup-database
53
59
60
+ # Run post install script, if exists
61
+ if [ -f " $APP_DIRECTORY /scripts/magento-post-install" ]
62
+ then
63
+ $APP_DIRECTORY /scripts/magento-post-install
64
+ fi
65
+
66
+
54
67
cd ${APP_DIRECTORY}
55
68
56
69
# Set developer mode
@@ -68,4 +81,4 @@ echo "Mailhog has been configured."
68
81
${DOCKER_BIN_DIRECTORY} /magento config:set admin/security/use_form_key 0
69
82
echo " Secret key in admin urls was disabled."
70
83
71
- ${DOCKER_BIN_DIRECTORY} /magento cache:flush
84
+ ${DOCKER_BIN_DIRECTORY} /magento cache:flush
You can’t perform that action at this time.
0 commit comments