php__phpstorm_xdebug/docker-compose.yml

13 lines
343 B
YAML

version: '2'
services:
webserver:
image: phpstorm/php-71-apache-xdebug-26
ports:
# Host:Container
- "80:80"
volumes:
- ./:/var/www/html
environment:
# Often resolves to an incorrect IP: use actual IPs instead.
# XDEBUG_CONFIG: host.docker.internal
XDEBUG_CONFIG: remote_host=192.168.19.51