forked from codebuds33/webp-conversion-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
40 lines (36 loc) · 792 Bytes
/
docker-compose.yaml
File metadata and controls
40 lines (36 loc) · 792 Bytes
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
31
32
33
34
35
36
37
38
39
version: '3.7'
services:
php:
build:
dockerfile: Dockerfile
context: .
target: php_dev
args:
PHP_VERSION: '7.4'
user: 1000:1500
networks:
- internal
working_dir: /srv/app
environment:
- PHP_IDE_CONFIG=serverName=Xdebug
- XDEBUG_CONFIG=discover_client_host=1 client_host=host.docker.internal
volumes:
- .:/srv/app
php8:
build:
dockerfile: Dockerfile
context: .
target: php_dev
args:
PHP_VERSION: '8.0'
user: 1000:1500
networks:
- internal
working_dir: /srv/app
environment:
- PHP_IDE_CONFIG=serverName=Xdebug
- XDEBUG_CONFIG=discover_client_host=1 client_host=host.docker.internal
volumes:
- .:/srv/app
networks:
internal: