Closed dciccale closed 7 years ago
Sorry to hear you had this problem.
Here is a correct docker-compose.yml file for your case:
shop:
image: dnhsoft/shopware:4.0.1
links:
- db
- mailhog
ports:
- "8000:80"
environment:
SWDB_USER: "root"
db:
image: dnhsoft/mysql-utf8:5.6
volumes:
- ".database:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: 123456
pma:
image: dnhsoft/phpmyadmin:4.6.3
links:
- db
ports:
- "8001:80"
mailhog:
image: mailhog/mailhog
expose:
- "1025"
- "8025"
ports:
- "8025:8025"
Call docker-compose up -d and then docker-compose exec shop /swtools/init.sh
It worked! thanks a lot @chudomir-delchev-dnh one more question:
For version 5+ it already comes with an /swtools/install-demo-data-en.sh
script which I run that installs a ton of demo data in english for my installation. Is there such thing for version 4 that I can download from somewhere and insert to mysql?
great docker image btw. it helps a lot for development.
THanks for the feedback :)
For Shopware 4, unfortunately there is no such script - at that time it was a manual process.
There are predefined images for Shopware in our docker hub repo. They are suffixed with ".d". However, they start from Showpare 4.1, for example dnhsoft/shopware:4.1.0.d . Would that be ok for you?
(Really sorry for the late replies!)
That is amazing! thanks a lot.
I will use that image then.
This issue can be closed :)
On Jun 22, 2017 15:01, "Chudomir Delchev" notifications@github.com wrote:
THanks for the feedback :)
For Shopware 4, unfortunately there is no such script - at that time it was a manual process.
There are predefined images for Shopware in our docker hub repo. They are suffixed with ".d". However, they start from Showpare 4.1, for example dnhsoft/shopware:4.1.0.d . Would that be ok for you?
(Really sorry for the late replies!)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dnhsoft/sw-docker-demo/issues/2#issuecomment-310373259, or mute the thread https://github.com/notifications/unsubscribe-auth/AAg7mhwUVUbAkmiz3NpN3eDTopUCvmvZks5sGmW_gaJpZM4N1QM2 .
Just let me know if you have problems with the images with demo data.
When running the following docker-compose.yml file
docker-compose up -d
and going tohttp://127.0.0.1
I get this error:What could this possibly be? Thanks in advance for any help