Skip to content

Commit

Permalink
for php:8.2 xdebug 3
Browse files Browse the repository at this point in the history
  • Loading branch information
bscheshirwork committed Oct 9, 2023
1 parent ae22bf6 commit db66650
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env_example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
DEV_REMOTE_HOST=host.docker.internal
DEV_REMOTE_PORT=9001
DEV_REMOTE_PORT=9003
DEV_REMOTE_PORT_CODECEPTION=9002
DEV_SERVER_NAME=yii2advanced
DEV_SERVER_NAME_CODECEPTION=codeception
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ services:
- db
environment:
TZ: Europe/Moscow
XDEBUG_CONFIG: "remote_enable=Off remote_autostart=Off"
nginx:
image: nginx:1.17.8-alpine
restart: always
Expand Down
8 changes: 5 additions & 3 deletions docker-run/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
version: '3.8'
services:
php:
image: bscheshir/php:7.4.3-fpm-alpine-4yii2-xdebug
image: bscheshir/php:8.2.11-fpm-alpine-4yii2-xdebug
restart: always
volumes:
- ../php-data:/var/www/html #php-data
Expand All @@ -10,8 +10,10 @@ services:
- db
environment:
TZ: Europe/Moscow
XDEBUG_CONFIG: "remote_host=${DEV_REMOTE_HOST} remote_port=${DEV_REMOTE_PORT} var_display_max_data=1024 var_display_max_depth=5"
XDEBUG_CONFIG: "client_host=${DEV_REMOTE_HOST} client_port=${DEV_REMOTE_PORT}"
PHP_IDE_CONFIG: "serverName=${DEV_SERVER_NAME}"
extra_hosts:
- "host.docker.internal:host-gateway"
nginx:
image: nginx:1.17.8-alpine
restart: always
Expand Down

0 comments on commit db66650

Please sign in to comment.