-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env
355 lines (311 loc) · 11.1 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
350
351
352
353
354
355
#
#.........................................................
# Project Details
#.........................................................
# Project Identifier: larabeans
# TLD: ts
# Description: Online Ordering Service
# Services:
# - API (PHP Service),
# - Shop (Online Store, node),
# - BO (Back Office, node),
# - MTO (Made to Order, node)
# - MySQL
#
#
# ......................................................................................................................
# 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 {PROJ-IDENTIFIER}.{TLD} to have seperate containers per project.
COMPOSE_PROJECT_NAME=larabeans.ts
# 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 {PROJ-IDENTIFIER}
COMPOSE_IMAGES_NAMESPACE=larabeans
#
# ......................................................................................................................
# PATHS
# ......................................................................................................................
#
# Path to different directories on host machine
#
# Directory docker files
# Same for WIN 8, 8.1, 10
DOCKER_FILES_DIR=./o-dock
# Project base directory
# For window 8,8.1 it is '/.vps/{TLD}/{PROJ-IDENTIFIER}' (projects folder is 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 should follow {TLD}/{PROJECT-IDENTIFIER} as convention
# For window 10, it is '.' i.e current directory it is relative path
APP_BASE_DIR=.
# Choose config path on your machine
APP_BASE_CONFIG_DIR=o-dock/_conf
# Choose config path on your machine
APP_BASE_LOG_DIR=o-dock/_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
APP_APACHE_CONFIG_DIR=apache
APP_NGINX_CONFIG_DIR=nginx
APP_PHP_CONFIG_DIR=php
APP_MYSQL_CONFIG_DIR=mysql
APP_WS_CONFIG_DIR=workspace
# Sub Log Directories
APP_APACHE_LOG_DIR=apache
APP_NGINX_LOG_DIR=nginx
APP_PHP_LOG_DIR=php
APP_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: 7.4 - 7.3 - 7.2 - 7.1 - 7.0 - 5.6
PHP_VERSION=7.4
# 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 `{PROJ-IDENTIFIER}.{TLD}`
PHP_IDE_CONFIG=serverName=larabeans.ts
#
# ......................................................................................................................
# CONTAINERS CUSTOMIZATION
# ......................................................................................................................
#
# Container's specific variables will come below
#
#
# APACHE
# Configuration Options:
# Option 1: Use single appache service for multiple host
# - Suppose code directory contain multiple sub directories, each belongs to single host, you need to add virtual manually
# - File to add/configure virtual hosts is ./o-dock/_conf/apache/sites/apache.conf
# - Its is possible to configure single appache service for multiple hosts, however we need separat PHP services for different apps
# - So need to configure ProxyPassMatch for each virtual host accordingly
# - Example 1:
# Below is example virtual host configurations, if app exists with root folder i.e in folder {PROJ-IDENTIFIER}/code
# <VirtualHost *:80>
# Options Indexes FollowSymLinks
# # Proxy .php requests to port 9000 of the php-fpm container
# ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://{PROJ-IDENTIFIER}.{TLD}.{CONTAINER-IDENTIFIER}:9000/var/www/$1
# ServerName {PROJ-IDENTIFIER}.{TLD}
# DocumentRoot /var/www
# <Directory /var/www/>
# DirectoryIndex index.html
# AllowOverride All
# <IfVersion < 2.4>
# Allow from all
# </IfVersion>
# <IfVersion >= 2.4>
# Require all granted
# </IfVersion>
# </Directory>
# # Send apache logs to stdout and stderr
# CustomLog /proc/self/fd/1 common
# ErrorLog /proc/self/fd/2
# </VirtualHost>
#
# - Example 2:
# Below is example virtual host configurations, if app exists in sub-directory within root folder i.e in folder {PROJ-IDENTIFIER}/code
# You can add as many virtual hosts as you like
#
# {UNIQUE-SERVICE-IDENTIFIER}: It is encourged to use sub-directory name
# {SUB-DOMAIN}: It is encourged to use sub-directory name
#
# <VirtualHost *:80>
# Options Indexes FollowSymLinks
# # Proxy .php requests to port 9000 of the php-fpm container
# ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://{PROJ-IDENTIFIER}.{TLD}.{CONTAINER-IDENTIFIER}:9000/var/www/$1
# ServerName {SUB-DOMAIN}.{PROJ-IDENTIFIER}.{TLD}
# DocumentRoot /var/www
# <Directory /var/www/>
# DirectoryIndex index.html
# AllowOverride All
# <IfVersion < 2.4>
# Allow from all
# </IfVersion>
# <IfVersion >= 2.4>
# Require all granted
# </IfVersion>
# </Directory>
# # Send apache logs to stdout and stderr
# CustomLog /proc/self/fd/1 common
# ErrorLog /proc/self/fd/2
# </VirtualHost>
#
# Option 2: Use multiple appache services for each host
# - That is easy one just need to configure sigle host, see Example 1, above
#
# APACHE_VIRTUAL_HOST
# - Automatically configures reverse proxy if [opendocks/o-proxy](https://github.com/opendocks/o-proxy) is running
# - For multiple virtual hosts, or sub domains provide comma separated lis
# ----------------------------------------------------------------------------------------------------------------------
#
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=api.larabeans.ts,admin.larabeans.ts,larabeans.ts
#
# MYSQL
# ----------------------------------------------------------------------------------------------------------------------
#
MYSQL_VERSION=5.6.40
MYSQL_TIMEZONE==UTC
MYSQL_DATABASE=larabeans_db
MYSQL_USER=lb_user
MYSQL_PASSWORD=@NoPassRopen
MYSQL_PORT=3307
MYSQL_ROOT_PASSWORD=root_user_pass
MYSQL_ENTRYPOINT_INITDB=./mysql/docker-entrypoint-initdb.d
MYSQL_VIRTUAL_HOST=mysql.larabeans.ts
#
# 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=true
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 PHP 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-7.4
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=12.16.1
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=true
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=false
WS_COMPOSER_GLOBAL_INSTALL=false
WS_COMPOSER_REPO_PACKAGIST=
WS_INSTALL_COMPOSER=true
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