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 | |
/** | |
* Installer script | |
* | |
* @category Solvingmagento | |
* @package Solvingmagento_Samples | |
* @author Oleg Ishenko <[email protected]> | |
* @copyright Copyright (c) 2012 - 2013 Oleg Ishenko | |
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | |
* @version GIT: <0.1.0> |
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 | |
require_once 'app/Mage.php'; | |
Mage::app('default'); | |
$productIds = array(100, 101, 102); | |
$option = array( | |
'title' => 'Test Option', | |
'type' => 'file', | |
'is_require' => 1, |
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
(SELECT | |
`main_table`.`tax_calculation_rate_id`, | |
`main_table`.`tax_calculation_rule_id`, | |
`main_table`.`customer_tax_class_id`, | |
`main_table`.`product_tax_class_id`, | |
`rule`.`priority`, | |
`rule`.`position`, | |
`rate`.`rate` AS `value`, | |
`rate`.`tax_country_id`, | |
`rate`.`tax_region_id`, |
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
├── repository_root | |
│ ├── proxy | |
│ │ ├──docker-compose.yml | |
│ ├── site1 | |
│ │ ├──docker-compose.yml | |
│ ├── site2 | |
│ │ ├──docker-compose.yml |
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
docker network create nginx-proxy |
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-proxy: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro |
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
letsencrypt-proxy: | |
image: jrcs/letsencrypt-nginx-proxy-companion | |
container_name: letsencrypt-proxy | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
- letsencrypt-certs:/etc/nginx/certs | |
- letsencrypt-vhost-d:/etc/nginx/vhost.d | |
- letsencrypt-html:/usr/share/nginx/html | |
environment: | |
- [email protected] |
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-proxy: | |
image: jwilder/nginx-proxy | |
container_name: nginx-proxy | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- /var/run/docker.sock:/tmp/docker.sock:ro |
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: | |
db_node_domain: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: unless-stopped | |
environment: | |
MYSQL_ROOT_PASSWORD: password |
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: | |
db_node_domain_2: | |
image: mysql:5.7 | |
volumes: | |
- db_data:/var/lib/mysql | |
restart: unless-stopped | |
environment: | |
MYSQL_ROOT_PASSWORD: password |