Skip to content

Instantly share code, notes, and snippets.

@Julien1138
Created March 27, 2020 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Julien1138/c264a0294beeb10ab26a0b996c4e148c to your computer and use it in GitHub Desktop.
Save Julien1138/c264a0294beeb10ab26a0b996c4e148c to your computer and use it in GitHub Desktop.
version: '3.5'
services:
# Our application to debug
app:
container_name: tuto-xdebug
build:
context: ./
dockerfile: ./dockerfile
ports:
- '80:80'
volumes:
- './index.php:/var/www/html/index.php'
environment:
XDEBUG_CONFIG: remote_host=host.docker.internal remote_port=9000 remote_enable=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment