forked from TrueLayer/magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
17 lines (16 loc) · 880 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
version: "3.9"
services:
web:
image: michielgerritsen/magento-project-community-edition:php81-fpm-magento2.4.6
ports:
- 1234:80
- 3307:3306
environment:
- URL=http://localhost:1234/
- FLAT_TABLES=false
- DOCKER_BUILDKIT=1
- COMPOSE_DOCKER_CLI_BUILD=1
- DOCKER_DEFAULT_PLATFORM=linux/amd64
- CUSTOM_ENTRYPOINT_COMMAND=php bin/magento module:disable {Magento_AdminAdobeImsTwoFactorAuth,Magento_TwoFactorAuth} && composer require truelayer/magento2 --no-plugins --with-all-dependencies && php bin/magento module:enable TrueLayer_Connect && php bin/magento setup:upgrade && php bin/magento setup:di:compile && php bin/magento config:set admin/security/password_lifetime 0 && php bin/magento config:set admin/security/password_is_forced 0 && php bin/magento cache:clean
volumes:
- ./:/data/extensions/tl-magento2