services: webserver: image: nginx:latest ports: - 8080:80 volumes: - ./default.conf:/etc/nginx/conf.d/default.conf - ./app:/app db: image: mysql:latest environment: - MYSQL_ROOT_PASSWORD=ALEPH ports: - 3307:3306 php: build: . ports: - 9000:9000 - 9003:9003 volumes: - ./app:/app extra_hosts: - "host.docker.internal:host-gateway" environment: XDEBUG_MODE: develop,debug XDEBUG_CONFIG: client_host=host.docker.internal start_with_request=yes