No Description

Stephan Altmann 5fa3021966 updated readme.md 4 months ago
.idea eebc1c52b6 added env-vars to dump script 6 months ago
apache-php e67c333e95 updated to php7.1 4 months ago
db-dump eebc1c52b6 added env-vars to dump script 6 months ago
repositories e67c333e95 updated to php7.1 4 months ago
scripts eebc1c52b6 added env-vars to dump script 6 months ago
.gitignore 47bad08b66 updated readme 7 months ago
docker-compose.yml e632d60e2c xdebug working 7 months ago
readme.md 5fa3021966 updated readme.md 4 months ago

readme.md

Docker container made for Shopware development

Designed to use theme and plugins as separate repositories.

Todo

Information

add following to /etc/hosts

172.10.1.1      shopware.dev

Get IP

docker exec -it dockershopware_apache-php_1 ip addr

database-host: db

How to start

docker-compose up -d

(docker-compose 1.8.x is required)

At first start

chmod -R 777 repositories/

config.php

<?php return array (
    'db' =>
        array (
            'host' => 'db',
            'port' => '3306',
            'username' => 'dev',
            'password' => '123456',
            'dbname' => 'shopware',
        ),
    'front' => [
        'throwExceptions' => true,
        'showException' => true,
    ],
    'phpsettings' => [
        'error_reporting' => E_ALL & ~E_USER_DEPRECATED,
        'display_errors' => 1,
        'date.timezone' => 'Europe/Berlin',
    ],
);

Export database dump

docker exec -it dockershopware_db_1 /usr/local/bin/export/dump.sh

access container's bash

docker exec -it dockershopware_db_1 bash

XDebug

idekey=phpstorm