This repository has been archived by the owner on May 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
example.env
128 lines (108 loc) · 3.92 KB
/
example.env
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
PROJECT_NAME=ddp8
# Used to know if we want to download and enable development modules.
# Only 'dev' is searched. So any other string can prevent development modules.
ENVIRONMENT_MODE=prod
#ENVIRONMENT_MODE=dev
# Only 'true' is searched. So any other string will disable Xdebug.
XDEBUG_ENABLED=false
#XDEBUG_ENABLED=true
# Only 'yes' is searched.
USE_REDIS=yes
#USE_REDIS=no
### PATHS.
PROJECT_PATH=/project
APP_PATH=/project/app
SCRIPTS_PATH=/project/scripts
WWW_PATH=/project/www
DRUSH=/project/vendor/bin/drush
### Services versions.
DOCKER_SERVICE_WEB_IMAGE=florenttorregrosa/drupal-php-dev:7.3-apache
DOCKER_SERVICE_VARNISH_IMAGE=florenttorregrosa/varnish:6-alpine
DOCKER_SERVICE_DRUPAL_SITE_DEFAULT_DB_IMAGE=mariadb:10.4
DOCKER_SERVICE_SOLR_IMAGE=solr:7.7-alpine
DOCKER_SERVICE_REDIS_IMAGE=redis:5.0-alpine
DOCKER_SERVICE_NODE_IMAGE=node:12-alpine
### Drupal variables.
DRUPAL_SITE_DEFAULT_DOMAIN_1=web-ddp8.docker.localhost
DRUPAL_SITE_DEFAULT_DOMAIN_2=en-web-ddp8.docker.localhost
DRUPAL_SITE_DEFAULT_DOMAIN_3=fr-web-ddp8.docker.localhost
DRUPAL_SITE_DEFAULT_INSTALLATION_PROFILE=standard
DRUPAL_SITE_DEFAULT_ACCOUNT_NAME=admin
DRUPAL_SITE_DEFAULT_ACCOUNT_PASS=admin
DRUPAL_SITE_DEFAULT_SITE_NAME='Drupal 8'
DRUPAL_SITE_DEFAULT_DEFAULT_LANGUAGE=en
DRUPAL_SITE_DEFAULT_FOLDER_NAME=default
DRUPAL_SITE_DEFAULT_HAS_EXPORTED_CONFIG=false
DRUPAL_SITE_DEFAULT_HASH_SALT='CHANGE ME'
DRUPAL_SITE_DEFAULT_OMIT_VARY_COOKIE=0
DRUPAL_SITE_DEFAULT_CACHE_PAGE_MAX_AGE=86400
DRUPAL_SITE_DEFAULT_REDIS_INTERFACE=PhpRedis
DRUPAL_SITE_DEFAULT_REDIS_HOST=redis
DRUPAL_SITE_DEFAULT_REDIS_PORT=6379
DRUPAL_SITE_DEFAULT_REDIS_BASE=0
DRUPAL_SITE_DEFAULT_REDIS_COMPRESS_LENGTH=100
DRUPAL_SITE_DEFAULT_REDIS_COMPRESS_LEVEL=6
DRUPAL_SITE_DEFAULT_CACHE_DEFAULT=cache.backend.redis
DRUPAL_SITE_DEFAULT_CACHE_PREFIX=default_
# Drupal DB variables.
DRUPAL_SITE_DEFAULT_DB_ROOT_PASSWORD=root
DRUPAL_SITE_DEFAULT_DB_USER=drupal
DRUPAL_SITE_DEFAULT_DB_PASSWORD=drupal
DRUPAL_SITE_DEFAULT_DB_DATABASE=drupal
DRUPAL_SITE_DEFAULT_DB_PREFIX=
DRUPAL_SITE_DEFAULT_DB_HOST=mysql
DRUPAL_SITE_DEFAULT_DB_PORT=3306
DRUPAL_SITE_DEFAULT_DB_DRIVER=mysql
# PHP variables.
CUSTOM_PHP_DATE_TIMEZONE=Europe/Paris
CUSTOM_PHP_MEMORY_LIMIT=256M
CUSTOM_PHP_POST_MAX_SIZE=8M
CUSTOM_PHP_UPLOAD_MAX_FILESIZE=8M
# From https://secure.php.net/manual/en/opcache.installation.php except
# opcache.fast_shutdown as it will be removed in PHP 7.2.0.
CUSTOM_PHP_OPCACHE_ENABLE_CLI=1
CUSTOM_PHP_OPCACHE_INTERNED_STRINGS_BUFFER=8
CUSTOM_PHP_OPCACHE_MAX_ACCELERATED_FILES=10000
CUSTOM_PHP_OPCACHE_MEMORY_CONSUMPTION=128
CUSTOM_PHP_OPCACHE_REVALIDATE_FREQ=60
CUSTOM_PHP_XDEBUG_IDEKEY=PHPSTORM
CUSTOM_PHP_XDEBUG_MAX_NESTING_LEVEL=500
CUSTOM_PHP_XDEBUG_REMOTE_AUTOSTART=On
CUSTOM_PHP_XDEBUG_REMOTE_ENABLE=On
CUSTOM_PHP_XDEBUG_REMOTE_HOST=172.17.0.1
CUSTOM_PHP_XDEBUG_REMOTE_PORT=9000
# Webserver variables.
WEBSERVER_USER=www-data
WEBSERVER_HOST=web
WEBSERVER_PORT=80
WEBSERVER_DOCUMENT_ROOT=/project/web
WEBSERVER_DIRECTORY_WEB=/project/web
WEBSERVER_DIRECTORY_SITE_DEFAULT_PUBLIC_FILES=/project/www/sites/default/files
WEBSERVER_DIRECTORY_SITE_DEFAULT_PRIVATE_FILES=/project/private_files/default
WEBSERVER_DIRECTORY_SITE_DEFAULT_CONFIG_DIRECTORY=/project/conf/drupal/default
# Varnish variables.
VARNISH_DOMAIN=varnish-ddp8.docker.localhost
VARNISH_HOST=varnish
# Mail variables.
MAIL_DOMAIN=mail-ddp8.docker.localhost
# Colors.
COLOR_NC='\033[0m' # No Color.
COLOR_BLACK='\033[0;30m'
COLOR_DARK_GRAY='\033[1;30m'
COLOR_RED='\033[0;31m'
COLOR_LIGHT_RED='\033[1;31m'
COLOR_GREEN='\033[0;32m'
COLOR_LIGHT_GREEN='\033[1;32m'
COLOR_BROWN_ORANGE='\033[0;33m'
COLOR_YELLOW='\033[1;33m'
COLOR_BLUE='\033[0;34m'
COLOR_LIGHT_BLUE='\033[1;34m'
COLOR_PURPLE='\033[0;35m'
COLOR_LIGHT_PURPLE='\033[1;35m'
COLOR_CYAN='\033[0;36m'
COLOR_LIGHT_CYAN='\033[1;36m'
COLOR_LIGHT_GRAY='\033[0;37m'
COLOR_WHITE='\033[1;37m'