This is a docker-compose example for using https://github.com/iocron/docker-shopware
- Clone the docker-shopware example:
git clone https://github.com/iocron/docker-shopware-example.git
- Switch to the cloned directory:
cd docker-shopware-example
- Change/re-configure docker-compose.yml and shop-variables-local.env if needed
- Start your docker containers with docker-compose:
docker-compose up
- Type in "localhost" in your browser (or localhost/backend for the shopware backend)
If you need direct access to your Database, then use the following credentials:
Host: 127.0.0.1
User: root
Password: 123456
Port: 32940
You can connect to the docker-container with our shell helper script: ./docker-ssh.sh
If you want to log in as root, then use: docker-compose exec --privileged shop bash
Use the following commands step by step, if you want to have the bare and responsive themes referenced on your local workspace:
./docker-ssh.sh
cp -Rp themes/Frontend/Bare/* themes/\_Frontend/Bare/
cp -Rp themes/Frontend/Responsive/* themes/\_Frontend/Responsive/
https://github.com/iocron/docker-shopware https://github.com/iocron/docker-shopware-example https://github.com/shopware/shopware