Magento 2 docker services platform for multiple sites.
- For Magento 2.3 version.
- Composer.
- PHP 7.2.
- xdebug.
- phpunit.
- Apache 2.
git clone [email protected]:jpcandioti/magento2-multisite.git
cp docker-compose.yml.dist docker-compose.yml
cp php/php.ini.dist php/php.ini
docker-compose pull
docker build -t jpcandioti/magento2-multisite:latest .
cp httpd/sites-available/example.develop.conf httpd/sites-enabled/myshop.com.conf
vim httpd/sites-enabled/myshop.com.conf
mv /home/user/myshop.com ./sites/
In Certbot site, go to Apache on Debian 10 (buster): https://certbot.eff.org/lets-encrypt/debianbuster-apache
docker-compose up -d
docker-compose stop
docker-compose start