services: php: image: yiisoftware/yii2-php:8.3-fpm-24.3.0-nginx volumes: - ~/.composer-docker/cache:/root/.composer/cache:delegated - ./:/app:delegated ports: - '8000:80' environment: PHP_ENABLE_XDEBUG: 1 XDEBUG_CONFIG: 'client_host=host.docker.internal client_port=9003'