Igor Biki

Results 12 comments of Igor Biki

Here is how I do it using nginx, but it should be same for apache. Subfolders: ``` sites/first sites/second ``` sites.php ``` $sites['first.drupal.docker.localhost'] = 'first'; $sites['second.drupal.docker.localhost'] = 'second'; ``` docker-compose.yml...

Not sure if this is a fix, but if you uncomment this line in docker-compose.yml PHP_XDEBUG_LOG: /tmp/php-xdebug.log output goes away! Don't forget to restart containers.

Here is how I use this project: under php and nginx containers I set volumes to - ./html:/var/www/html:cached (mapping host os subfolder html to containers /var/www/html). Once container are up,...

Oh, d4d is short for docker4drupal. Also, for my projects I only use docker-compose.yml and .env files. And make sure to stop containers (docker compose stop), and not "docker compose...

From same folder where your docker-compose.yml is run: ``` docker compose exec php bash ``` That should puts you inside php container, you should be /var/www/html, and then running ```...

That might be file sync between win and docker. Is there a way for you to use WSL only, and not use Docker Desktop. Install docker in WSL, that should...

Did you used "mariadb" instead of "localhost" for database server. You need to expand "Advanced options" and set "Database host" to be mariadb (name of the service from yml file).

https://www.weebpal.com/sites/default/files/guide_static/cupcake/structure/install-drupal-step3.png

Run "docker-compose ps" and check if mariadb is up. Maybe its not. By default "volumes" on mariadb are commented out. Maybe that is messing things up for you.