add php debugging

This commit is contained in:
2026-07-16 12:18:53 +02:00
parent fa663a6a6c
commit 339c0503ba
7 changed files with 235 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
services:
php-api:
build:
context: .
dockerfile: .docker/php/Dockerfile
container_name: elixforms-php-api
working_dir: /app
extra_hosts:
- "host.docker.internal:host-gateway"
ports:
- "8000:8000"
volumes:
- .:/app
- ./.docker/php/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini
#environment:
# XDEBUG_MODE: debug
# XDEBUG_CONFIG: client_host=host.docker.internal client_port=9003 start_with_request=yes