## Magento 1 + SampleData
sudo apt-get update && \
sudo apt-get install -y git wget unzip
git clone https://github.com/OpenMage/magento-mirror.git ./ ;
wget https://raw.githubusercontent.com/Vinai/compressed-magento-sample-data/1.9.1.0/compressed-magento-sample-data-1.9.1.0.tgz ;
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
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
1 | |
mkdir -p ~/.config/terminator | |
2 | |
nano ~/.config/terminator/config | |
3 | |
paste de content in the file above | |
[global_config] | |
title_transmit_bg_color = "#729fcf" |
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
#### 1-Baixar repositório docker | |
baixar o conteudo | |
https://github.com/markoshust/docker-magento/archive/master.zip | |
ou fazer o clone do projeto | |
git clone https://github.com/markoshust/docker-magento.git |
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
1-Clonar o repositório | |
git clone https://github.com/cristianopacheco/docker-magento | |
2-Copiar o diretório magento-2 dentro de docker-magento/compose para local de sua preferencia e entrar no diretório | |
2-Fazer instalação do código fonte do magento via composer | |
bin/download 2.3.0 | |
3-subir os containers | |
bin/start |
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
##### Instalação do repositório | |
mkdir magento2 && cd $_ | |
git init | |
git remote add origin https://github.com/markoshust/docker-magento.git | |
git fetch origin | |
git checkout origin/master -- compose/magento-2 | |
mv compose/magento-2/* . | |
rm -rf compose .git | |
git init |
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: '2' | |
services: | |
mongo: | |
image: mongo:3.6.6 | |
restart: always | |
mem_limit: 3G | |
container_name: orange_mongo | |
ports: | |
- "27017:27017" |
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: '2' | |
services: | |
proxy: | |
image: nginx:1.13.8 | |
container_name: orange_nginx | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: |
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
FROM php:5.6-fpm | |
RUN apt-get update && apt-get install -y \ | |
libmcrypt-dev \ | |
libicu-dev \ | |
mysql-client \ | |
zlib1g-dev \ | |
&& docker-php-ext-install pdo_mysql \ | |
iconv \ | |
mcrypt \ |