Closed Vogeslu closed 1 year ago
How does your .config/swdc/env look like?
Oops, forgot about this, sorry:
# Choose between docker and local
RUN_MODE=docker
# Local Settings
NGINX_VIRTUAL_HOST_DIR=/opt/homebrew/etc/nginx/servers/
NGINX_RESTART_CMD="brew services restart nginx"
# Default domain. Each folder will be an subdomain of this domain
DEFAULT_DOMAIN="dev.localhost"
# Default services domain (for adminer, elasticsearch)
DEFAULT_SERVICES_DOMAIN="localhost"
# Use ssl as default
USE_SSL_DEFAULT=false
# Persistent Database?
PERSISTENT_DATABASE=true
# Default mysql host
DEFAULT_MYSQL_HOST=mysql
# Will delegate some folders like /var/cache to the machine
# and will cache folders like /media on the host
CACHE_VOLUMES=false
# Elasticsearch
ENABLE_ELASTICSEARCH=false
ELASTICSEARCH_IMAGE="blacktop/elasticsearch:7.10"
KIBANA_IMAGE="blacktop/kibana:7.10"
# Redis
ENABLE_REDIS=false
# S3 compatible Server
ENABLE_MINIO=false
# Possible values are 7.1, 7.2, 7.3, 7.4, 8.0, 8.1
PHP_VERSION=7.4
# Possible values are ghcr.io/shyim/shopware-docker/mysql:57, ghcr.io/shyim/shopware-docker/mysql:8 for MySQL configured versions
# Also possible offical images like mysql:X mariadb:X
MYSQL_VERSION=ghcr.io/shyim/shopware-docker/mysql:8
# Expose mysql port to host
EXPOSE_MYSQL_LOCAL=true
# Http port
HTTP_PORT=80
# Https port
HTTPS_PORT=443
# Possible values are adminer / phpmyadmin
DATABASE_TOOL=adminer
# Selenium Server
ENABLE_SELENIUM=false
# Cypres support
ENABLE_CYPRESS=false
# Source code root directory
CODE_DIRECTORY="$HOME/Code"
# Blackfire configurations
ENABLE_BLACKFIRE=false
BLACKFIRE_SERVER_ID=
BLACKFIRE_SERVER_TOKEN=
BLACKFIRE_CLIENT_ID=
BLACKFIRE_CLIENT_TOKEN=
# Varnish
ENABLE_VARNISH=false
# Enable WSL XDebug Tunnel. This is the ugglyst hack ever I did to get something running. PhpStorm Traffic will be fowarded as socket to the nginx container. The socat inside the container will make it available at port 9050 inside the container. XDebug will use that port to connect to PhpStorm
WSL_XDEBUG_TUNNEL=false
# Configure this if you want to move the mysql data into a different directory, default to swdc dir
# MYSQL_DATA_DIR=/var/lib/swdc/mysql
I just created a new project with the most recent version
6.4.16.1
(production template) and used both commandsswdc storefront-init [name]
andswdc storefront-watch [name]
I received following log:
Steps to reproduce the behavior:
swdc create-project [name]
swdc storefront-init [name]
swdc storefront-watch [name]
Expected behavior A working watcher with a watcher url similar to administration
http://0.0.0.0:1234
, a webpack output which is not undefined and of course no errorEnvironment: