forked from michaelmoussa/noodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.cli.yml
More file actions
37 lines (35 loc) · 964 Bytes
/
Copy pathdocker-compose.cli.yml
File metadata and controls
37 lines (35 loc) · 964 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
version: '3.7'
services:
composer:
build:
context: .
dockerfile: docker/php/Dockerfile
init: true
volumes:
- .:/application:delegated
- composer-cache:/root/.composer/cache:cached
environment:
LINIO_ENV: local
XDEBUG_ENV: enabled # now xdebug is enabled only in phpunit from the script in the composer
XDEBUG_MODE: coverage
XDEBUG_CONFIG: client_host=host.docker.internal
entrypoint:
- composer
# Apple M1 processor
platform: linux/arm64/v8
php:
build:
context: .
dockerfile: docker/php/Dockerfile
init: true
volumes:
- .:/application:delegated
- composer-cache:/root/.composer/cache:cached
environment:
LINIO_ENV: local
XDEBUG_ENV: enabled # now xdebug is enabled only in phpunit from the script in the composer
XDEBUG_MODE: coverage
# Apple M1 processor
platform: linux/arm64/v8
volumes:
composer-cache: ~