Shopware 6 – docker + vagrant

To run the project in docker version on a vagrant, you need to take a few steps

Step 1.

Please go through the basic installation process: https://github.com/shopware/platform#quickstart–installation

Step 2.

Make changes in

dev-ops/docker/docker-compose.override.yml

by removing ip

127.0.0.1:

from entire file, e.g.:

127.0.0.1:8000:8000 to 8000:8000

Step 3.

Run command

./psh.phar docker:stop

and

./psh.phar docker:start

Step 4.

Add hostname maping in system hosts file e.g. 192.168.33.100 shopware.local

Step 5.

Update row in mysql table

sales_channel_domain 

changing

http://localhost:8000

to your local domain defined in system hosts file e.g.

http://shopware.local:8000


* Tip: I used adminer for this http://shopware.local:8001, with credentials: user: app, password: app, host: mysql, db: shopware