I am trying to run a Shopware Image locally. When I execute the init.sh file from the dnhsoft repo the command stucks at
Waiting for mysql server...
I already tried different images. It just wont work for me.
I used this docker-compose.yml:
version: "2"
services:
shop:
image: dnhsoft/shopware:5.6.9
links:
- mysql:db
- mailhog
ports:
- "8000:80"
volumes:
- "./../mtsTheme:/shopware/themes/Frontend/mtsTheme"
- "./../Local:/shopware/engine/Shopware/Plugins/Local"
mysql:
image: mysql:5.7
ports:
- "3306"
volumes:
## this makes the mysql shopware friendly, otherwise we have some utf8 issues
# - "./docker/mysql/mysqld_charset.cnf:/etc/mysql/conf.d/mysqld_charset.cnf"
- "./volumes/mysql:/var/lib/mysql"
environment:
MYSQL_ROOT_PASSWORD: 123456
TZ: Europe/Berlin
pma:
image: phpmyadmin/phpmyadmin:4.8
links:
- mysql:db
ports:
- "8001:80"
environment:
PMA_USER: root
PMA_PASSWORD: 123456
TZ: Europe/Berlin
mailhog:
image: mailhog/mailhog
expose:
- "1025"
- "8025"
ports:
- "8025:8025"
environment:
TZ: Europe/Berlin