This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// this file exists only for CI/CD (For those who have to deal with devs or admin users who love to create/delete sites on preprod envs) | |
// it is not used by the application and can be safely removed after compilation | |
$originalConfig = include 'config-orig.php'; | |
$scopeConfig = [ | |
'scopes' => [ | |
'websites' => [ | |
'admin' => [ | |
'website_id' => '0', | |
'code' => 'admin', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Your\Module\Namespace\Listener; | |
use MySQLReplication\BinLog\BinLogSocketConnect; | |
use MySQLReplication\Config\ConfigBuilder; | |
use MySQLReplication\Event\DTO\UpdateRowsDTO; | |
use MySQLReplication\Event\EventSubscribers; | |
use MySQLReplication\MySQLReplicationFactory; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
nginx: | |
image: nginx | |
volumes: | |
- project-one-volume:/var/www/project-one | |
php: | |
image: php:7.2-fpm | |
volumes: |