Run Shopware in a Docker container.
- Install docker and docker-compose.
- Copy the
docker-compose.ymlto a new local project directory. You don't need the other files.
docker-compose upand wait until the installation process is finished.
- You can now access Shopware via http://127.0.0.1:8080.
If you cannot see the demo images, run
bin/console sw:media:migrate in your container.
You can also just run
docker-compose run --rm shopware mediamigrate.
Run your cronjobs by executing
docker-compose run --rm shopware cron.