-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env
349 lines (294 loc) · 9.71 KB
/
.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
#
#.........................................................
# Project Details
#.........................................................
# Project Identifier: {{PROJECT-IDENTIFIER}}
# TLD: {{TLD}}
# Description: Project description.
# Services:
# - Service 1 (e.g. PHP Service),
# - Service 2 (e.g. MySQL),
# - etc
#
#
# ......................................................................................................................
# DOCKER COMPOSE FILES
# ......................................................................................................................
#
# Used by docker compose for basic setup
#
# Select which docker-compose files to include.
COMPOSE_FILE=docker-compose.yml
# Change the separator from : to ; on Windows
COMPOSE_PATH_SEPARATOR=:
# Define the prefix of container names.
# This is useful if you have multiple projects that use {PROJECT-IDENTIFIER}.{TLD} to have seperate containers per project.
COMPOSE_PROJECT_NAME={{PROJECT-IDENTIFIER}}_{{TLD}}
# Windows Path
# A fix for Windows users, to ensure the application path works
COMPOSE_CONVERT_WINDOWS_PATHS=1
# CUSTOME: Images Namespace, to be use as image name prefeix
# As convention, use {PROJECT-IDENTIFIER}
COMPOSE_IMAGES_NAMESPACE={{PROJECT-IDENTIFIER}}
# Containers name prefix, to separate them with other projects
CONTAINERS_NAMESPACE={{PROJECT-IDENTIFIER}}.{{TLD}}
#
# ......................................................................................................................
# PATHS
# ......................................................................................................................
#
# Path to different directories on host machine
#
# Directory docker files
# Same for WIN 8, 8.1, 10
DOCKER_FILES_DIR=./docks
# Project base directory
# For window 8,8.1 it is '/.vps/{TLD}/{PROJECT-IDENTIFIER}' (projects folder shared with docker machine),
# In above path .vps directory exists in root of docker machine, this is absolute path
# It is encourged as good practice to share .vps as root with docker machine
# Sub-directories should follow {TLD}/{PROJECT-IDENTIFIER} as convention
# For window 10, Unix, Linux , it is '.' i.e current directory (relative path)
APP_BASE_DIR=.
# Choose config path on your machine
APP_CONF_DIR=conf
# Choose config path on your machine
APP_LOG_DIR=logs
# Point to the path of your applications code on your host
APP_CODE_DIR=code
# Choose data storage path on your machine. For all storage systems
APP_DATA_DIR=data
# Sub Config Directories
APACHE_CONFIG_DIR=apache
NGINX_CONFIG_DIR=nginx
PHP_CONFIG_DIR=php
MYSQL_CONFIG_DIR=mysql
WS_CONFIG_DIR=workspace
# Sub Log Directories
APACHE_LOG_DIR=apache
NGINX_LOG_DIR=nginx
PHP_LOG_DIR=php
MYSQL_LOG_DIR=mysql
#
# ......................................................................................................................
# DRIVERS
# ......................................................................................................................
#
# Different type of drivers settings
#
# All volumes driver
VOLUMES_DRIVER=local
# All Networks driver
NETWORKS_DRIVER=bridge
# Network to connect with
NETWORK_NAME=net1-nginx-proxy
#
# ......................................................................................................................
# GLOBAL
# ......................................................................................................................
#
# Variable shared between different services will come here
#
# Accepted values: 8.1, 8.0, 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
PHP_VERSION=8.1
# Accepted values: hhvm - php-fpm
PHP_INTERPRETER=php-fpm
# Accepted Values
NODE_VERSION=14.16.1
# Docker Host IP
# Enter your Docker Host IP (will be appended to /etc/hosts). Default is `10.0.75.1`
DOCKER_HOST_IP=10.0.75.1
# Remote Interpreter
# Choose a Remote Interpreter entry matching name. Default is `{PROJECT-IDENTIFIER}.{TLD}`
PHP_IDE_CONFIG=serverName={{PROJECT-IDENTIFIER}}.{{TLD}}
#
# ......................................................................................................................
# CONTAINERS CUSTOMIZATION
# ......................................................................................................................
#
# Container's specific variables will come below
#
#
# APACHE
# Configuration Options:
# See instructions on file ./o-dock/_conf/apache/sites/apache.conf to setup virtual hosts for php services
HTTPD_VERSION=2.4.33
LINUX_DISTRO=alpine
APACHE_HTTP_PORT=8080
APACHE_HTTPS_PORT=444
APACHE_DOCUMENT_ROOT=/var/www/
APACHE_DOCUMENT_ROOT_FLAG=:cached
APACHE_CONFIG_PATH=/usr/local/apache2/conf
APACHE_VIRTUAL_HOST={{PROJECT-IDENTIFIER}}.{{TLD}} # e.g. {PROJECT-IDENTIFIER}.{TLD}, {CONTAINER-IDENTIFIER}.{PROJECT-IDENTIFIER}.{TLD}
#
# NGINX
# - NGINX_UPSTREAM_CONTAINER
# : node or php
# ----------------------------------------------------------------------------------------------------------------------
#
NGINX_DOCUMENT_ROOT=/var/www/
NGINX_DOCUMENT_ROOT_FLAG=:cached
NGINX_CHANGE_SOURCE=false
NGINX_HTTP_PORT=80
NGINX_HTTPS_PORT=4443
NGINX_UPSTREAM_CONTAINER=php
NGINX_UPSTREAM_PORT=9000
NGINX_VIRTUAL_HOST={{PROJECT-IDENTIFIER}}.{{TLD}}
#
# NODE
# ----------------------------------------------------------------------------------------------------------------------
#
NODE_INSTALL_INTL=true
NODE_INSTALL_IMAGEMAGICK=true
NODE_INSTALL_IMAGE_OPTIMIZERS=true
NODE_INSTALL_GHOSTSCRIPT=false
NODE_PG_CLIENT=false
NODE_INSTALL_YARN=true
NODE_YARN_VERSION=latest
NODE_INSTALL_NODEMON=true
NODE_NPM_START_SCRIPT=start
NODE_PUPPETEER_SUPPORT=false
NODE_DOCUMENT_ROOT=/var/www/
NODE_VIRTUAL_HOST={{PROJECT-IDENTIFIER}}.{{TLD}}
#
# MYSQL
# ----------------------------------------------------------------------------------------------------------------------
#
MYSQL_VERSION=5.7.12
MYSQL_TIMEZONE==UTC
MYSQL_DATABASE=db_name
MYSQL_USER=db_user
MYSQL_PASSWORD=db_pass
MYSQL_PORT=3307
MYSQL_ROOT_PASSWORD=root_user_pass
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
MYSQL_VIRTUAL_HOST=mysql.db
#
# MONGO
# ----------------------------------------------------------------------------------------------------------------------
#
MONGODB_PORT=27017
MONGODB_DATABASE=
MONGODB_ROOT_USERNAME=
MONGODB_ROOT_PASSWORD=
MONGO_VIRTUAL_HOST=mongo.db
# MONGO WEBUI
# ----------------------------------------------------------------------------------------------------------------------
MONGO_WEBUI_PORT=3000
MONGO_WEBUI_VIRTUAL_HOST=mongoui.web
MONGO_WEBUI_ROOT_URL=http://mongoui.web
MONGO_WEBUI_MONGO_URL=mongodb://mongo.container.name:27017/testdb
MONGO_WEBUI_INSTALL_MONGO=false
#
# PHP-FPM
# ----------------------------------------------------------------------------------------------------------------------
#
PHP_ADDITIONAL_LOCALES="es_ES.UTF-8 fr_FR.UTF-8"
PHP_DOCUMENT_ROOT=/var/www/
PHP_FAKETIME=-0
PHP_INSTALL_ADDITIONAL_LOCALES=false
PHP_INSTALL_AMQP=false
PHP_INSTALL_APCU=false
PHP_INSTALL_BCMATH=true
PHP_INSTALL_CALENDAR=false
PHP_INSTALL_COMPOSER=false
PHP_INSTALL_EXIF=false
PHP_INSTALL_FAKETIME=false
PHP_INSTALL_GHOSTSCRIPT=false
PHP_INSTALL_GMP=false
PHP_INSTALL_IMAGEMAGICK=true
PHP_INSTALL_IMAGE_OPTIMIZERS=true
PHP_INSTALL_IMAP=false
PHP_INSTALL_INTL=true
PHP_INSTALL_IONCUBE=false
PHP_INSTALL_LDAP=false
PHP_INSTALL_MCRYPT=true
PHP_INSTALL_MEMCACHED=false
PHP_INSTALL_MYSQLI=true
PHP_INSTALL_MYSQL_CLIENT=false
PHP_INSTALL_MONGO=false
PHP_INSTALL_MSSQL=false
PHP_INSTALL_OPCACHE=false
PHP_INSTALL_PCNTL=false
PHP_INSTALL_PGSQL=false
PHP_INSTALL_PG_CLIENT=false
PHP_INSTALL_PHPDBG=false
PHP_INSTALL_PHPREDIS=false
PHP_INSTALL_SOAP=false
PHP_INSTALL_SSH2=false
PHP_INSTALL_SWOOLE=false
PHP_INSTALL_XDEBUG=false
PHP_INSTALL_XSL=false
PHP_INSTALL_YAML=false
PHP_INSTALL_ZIP=true
#
# WORKSPACE (PHP & General)
# PHP SPECIFIC: For General purpose set WS_BASE_TAG=php-php_version e.g. php-7.2
# GENERAL PURPOSE:: For node only (no php included) set WS_BASE_TAG=general
# - WS_INSTALL_MCRYPT
# : Only make WS_INSTALL_MCRYPT true for PHP version < 7.2
# -------------------------------------------------------------------------------
#
WS_BASE_TAG=php-8.1
WS_CHROME_DRIVER_VERSION=2.42
WS_DOCUMENT_ROOT=/var/www/
WS_DOCUMENT_ROOT_FLAG=:cached
WS_DRUSH_VERSION=8.1.17
WS_NODE_VERSION=16.18.0
WS_NPM_REGISTRY=
WS_PGID=1000
WS_PUID=1000
WS_SSH_PORT=2222
WS_TIMEZONE=UTC
WS_YARN_VERSION=latest
WS_INSTALL_DEPLOYER=false
WS_INSTALL_DRUPAL_CONSOLE=false
WS_INSTALL_DRUSH=false
WS_INSTALL_DUSK_DEPS=false
WS_INSTALL_FFMPEG=false
WS_INSTALL_IMAGE_OPTIMIZERS=false
WS_INSTALL_IMAGEMAGICK=false
WS_INSTALL_LIBPNG=false
WS_INSTALL_LINUXBREW=false
WS_INSTALL_MC=false
WS_INSTALL_MSSQL=false
WS_INSTALL_MYSQL_CLIENT=false
WS_INSTALL_NODE=true
WS_INSTALL_NPM_CHECK_UPDATE=true
WS_INSTALL_NPM_ANGULAR_CLI=false
WS_INSTALL_NPM_BOWER=false
WS_INSTALL_NPM_GULP=true
WS_INSTALL_NPM_VUE_CLI=false
WS_INSTALL_PG_CLIENT=false
WS_INSTALL_PHPREDIS=false
WS_INSTALL_POWERLINE=false
WS_INSTALL_PRESTISSIMO=false
WS_INSTALL_PYTHON=true
WS_INSTALL_SUBVERSION=false
WS_INSTALL_SYMFONY=false
WS_INSTALL_TERRAFORM=false
WS_INSTALL_V8JS=false
WS_INSTALL_WS_SSH=true
WS_INSTALL_YARN=true
#
# Only PHP Specific
#
WS_COMPOSER_AUTH_JSON=false
WS_COMPOSER_GLOBAL_INSTALL=false
WS_COMPOSER_REPO_PACKAGIST=
WS_INSTALL_COMPOSER=false
WS_INSTALL_AMQP=false
WS_INSTALL_GMP=false
WS_INSTALL_IMAP=false
WS_INSTALL_IONCUBE=false
WS_INSTALL_LARAVEL_ENVOY=false
WS_INSTALL_LARAVEL_INSTALLER=false
WS_INSTALL_LDAP=false
WS_INSTALL_MCRYPT=false
WS_INSTALL_MONGO=false
WS_INSTALL_PHPDBG=false
WS_INSTALL_SOAP=false
WS_INSTALL_SSH2=false
WS_INSTALL_SWOOLE=false
WS_INSTALL_XDEBUG=false
WS_INSTALL_WP_CLI=false
WS_INSTALL_XSL=false