Skip to content
Snippets Groups Projects
Commit b79aa71e authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed debugger configuration

parent d8ae925d
No related branches found
No related tags found
1 merge request!2033Development
......@@ -12,17 +12,6 @@
"pathMappings": {
"/metager/metager_app": "${workspaceRoot}/metager"
}
},
{
"name": "PHP - Launch currently open script",
"type": "php",
"request": "launch",
"port": 9003,
"program": "${file}",
"cwd": "${fileDirname}",
"pathMappings": {
"/metager/metager_app": "${workspaceRoot}/metager"
}
}
]
}
\ No newline at end of file
......@@ -5,8 +5,7 @@ expose_php = On
xdebug.mode = debug
xdebug.log_level= 0
xdebug.start_with_request = yes
xdebug.discover_client_host = true
xdebug.idekey=VSCODE
xdebug.client_host=host.docker.internal
; OP cache
opcache.enable=0
\ No newline at end of file
......@@ -18,6 +18,8 @@ services:
- metager
volumes:
- ./metager:/metager/metager_app
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck:
test: "curl -f http://nginx:8080/health-check/liveness"
nginx:
......@@ -46,6 +48,8 @@ services:
- metager
volumes:
- ./metager:/metager/metager_app
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck:
test: "curl -f http://nginx:8080/health-check/liveness-scheduler"
worker:
......@@ -57,7 +61,7 @@ services:
networks:
- metager
extra_hosts:
- "dockerhost:192.168.5.1"
- "host.docker.internal:host-gateway"
volumes:
- ./metager:/metager/metager_app
healthcheck:
......@@ -112,4 +116,4 @@ networks:
ipam:
driver: default
config:
- subnet: "192.168.5.0/24"
\ No newline at end of file
- subnet: "192.168.5.0/24"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment