-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (29 loc) · 1.16 KB
/
docker-compose.yml
File metadata and controls
30 lines (29 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
php81:
build:
context: .
dockerfile: docker/Dockerfile.php81
volumes:
- .:/var/www/html
ports:
- "9000:9000"
environment:
XDEBUG_MODE: ${XDEBUG_MODE:-develop,debug}
XDEBUG_CLIENT_HOST: ${XDEBUG_CLIENT_HOST:-host.docker.internal}
XDEBUG_CLIENT_PORT: ${XDEBUG_CLIENT_PORT:-9090}
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG:-serverName=andanteproject-nullable-embeddable-bundle}
XDEBUG_START_WITH_REQUEST: ${XDEBUG_START_WITH_REQUEST:-yes}
php85:
build:
context: .
dockerfile: docker/Dockerfile.php85
volumes:
- .:/var/www/html
ports:
- "9001:9000" # Use a different port for PHP 8.5
environment:
XDEBUG_MODE: ${XDEBUG_MODE:-develop,debug}
XDEBUG_CLIENT_HOST: ${XDEBUG_CLIENT_HOST:-host.docker.internal}
XDEBUG_CLIENT_PORT: ${XDEBUG_CLIENT_PORT:-9090}
PHP_IDE_CONFIG: ${PHP_IDE_CONFIG:-serverName=andanteproject-nullable-embeddable-bundle}
XDEBUG_START_WITH_REQUEST: ${XDEBUG_START_WITH_REQUEST:-yes}