Created
March 27, 2020 13:35
-
-
Save Julien1138/c264a0294beeb10ab26a0b996c4e148c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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