Debugging in PHP with XDebug 3 and Docker/Podman Compose

docker-compose.yml version: '3'services: # PHP Service php-fpm: container_name: myapp build: docker/php restart: always# user: app volumes: – ./data/Laravel:/var/www/html – ./logs/php.log:/var/log/fpm-php.www.log # Nginx Service nginx: build: docker/nginx restart: unless-stopped ports: – "8080:80" volumes: – ./data/Laravel:/var/www/html – ./logs/nginx:/var/log/nginx/ docker/nginx/Dockerfile FROM nginx:alpineCOPY default.conf /etc/nginx/conf.d/default.conf docker/nginx/default.conf server { listen 80; index index.php; root /var/www/html/public; location / { try_files $uri […]