-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.override.yml
More file actions
50 lines (49 loc) · 1.41 KB
/
compose.override.yml
File metadata and controls
50 lines (49 loc) · 1.41 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
mariadb:
ports:
- '3306:3306'
volumes:
- ./db/init:/docker-entrypoint-initdb.d
- ./db/source:/var/lib/mysql
php:
environment:
PHP_FPM_CLEAR_ENV: "no"
PHP_EXTENSIONS_DISABLE: ""
PHP_SPX_HTTP_ENABLED: 0
PHP_SPX_HTTP_KEY: 'dev'
PHP_SPX_HTTP_IP_WHITELIST: '*'
PHP_XDEBUG_CLIENT_HOST: "172.17.0.1"
PHP_XDEBUG: 1
PHP_XDEBUG_MODE: profile,debug
PHP_XDEBUG_LOG_LEVEL: 0
PHP_IDE_CONFIG: serverName=d4d
PHP_XDEBUG_IDEKEY: "PHPSTORM"
PHP_XDEBUG_START_WITH_REQUEST: trigger
PHP_XDEBUG_TRIGGER_VALUE: "PHPSTORM"
PHP_XDEBUG_PROFILER_OUTPUT_NAME: "cachegrind.out.%t"
# For run xdebug from CLI XDEBUG_SESSION=d4d sh -c './vendor/bin/drush scr scripts/test.php'
volumes:
- ./code:/var/www/html
- ./files:/mnt/files
nginx:
environment:
# NGINX_SERVER_EXTRA_CONF_FILEPATH: /etc/nginx/my.locations.conf
NGINX_DRUPAL_ALLOW_XML_ENDPOINTS: true
# NGINX_SERVER_ROOT: /var/www/html
volumes:
- ./code:/var/www/html
# - ./my.locations.conf:/etc/nginx/my.locations.conf
# chrome:
# image: drupalci/webdriver-chromedriver:production
# ulimits:
# core:
# soft: -1
# hard: -1
# ports:
# - "4444:4444"
# - "9515:9515"
# entrypoint:
# - chromedriver
# - "--log-path=/tmp/chromedriver.log"
# - "--verbose"
# - "--whitelisted-ips="