forked from revagomes/drupal-pece
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.override.yml.example
58 lines (51 loc) · 1.56 KB
/
docker-compose.override.yml.example
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: "3.7"
services:
php:
# image: wodby/drupal-php:$PHP_TAG
environment:
PHP_FPM_CLEAR_ENV: "no"
PHP_XDEBUG: 1
PHP_XDEBUG_MODE: debug
XDEBUG_TRIGGER: 1
XDEBUG_SESSION: 1
PHP_XDEBUG_DEFAULT_ENABLE: 1
PHP_XDEBUG_REMOTE_CONNECT_BACK: 1
## Read instructions at https://wodby.com/stacks/drupal/docs/local/xdebug/
# PHP_XDEBUG: 1
# PHP_XDEBUG_DEFAULT_ENABLE: 1
# PHP_XDEBUG_REMOTE_CONNECT_BACK: 0
# PHP_IDE_CONFIG: serverName=my-ide
# PHP_XDEBUG_REMOTE_HOST: host.docker.internal # Docker 18.03+ Mac/Win
# PHP_XDEBUG_REMOTE_HOST: 172.17.0.1 # Linux
# PHP_XDEBUG_REMOTE_HOST: 10.254.254.254 # macOS, Docker < 18.03
# PHP_XDEBUG_REMOTE_HOST: 10.0.75.1 # Windows, Docker < 18.03
# PHP_XDEBUG_REMOTE_LOG: /tmp/php-xdebug.log
# volumes:
# - codebase:/var/www/html
## For macOS users (https://wodby.com/stacks/drupal/docs/local/docker-for-mac/)
# - ./:/var/www/html:cached # User-guided caching
# - docker-sync:/var/www/html # Docker-sync
## For XHProf and Xdebug profiler traces
# - files:/mnt/files
## For windows users
# mariadb:
# environment:
# MYSQL_INNODB_FLUSH_METHOD: fsync
# nginx:
# volumes:
# - codebase:/var/www/html
composer:
image: composer:2.4.4
container_name: "${PROJECT_NAME}_composer"
# command: composer install --ignore-platform-reqs -vvv
volumes:
- ./:/app
- ~/.composer:/tmp
#volumes:
# codebase:
#volumes:
## Docker-sync for macOS users
# docker-sync:
# external: true
## For Xdebug profiler
# files: