docker-compose.yml 343 B

12345678910111213
  1. version: '2'
  2. services:
  3. webserver:
  4. image: phpstorm/php-71-apache-xdebug-26
  5. ports:
  6. # Host:Container
  7. - "80:80"
  8. volumes:
  9. - ./:/var/www/html
  10. environment:
  11. # Often resolves to an incorrect IP: use actual IPs instead.
  12. # XDEBUG_CONFIG: host.docker.internal
  13. XDEBUG_CONFIG: remote_host=192.168.19.51