Al utilizar el sitio web AlfaVila.com, acepta el uso de cookies para mejorar el nivel de servicio.

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; server_name myapp.site; root /var/www/html/public; location / { […]