-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig-m2.env.sample
83 lines (76 loc) · 3.18 KB
/
config-m2.env.sample
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
#
# Composer
#
MAGENTO2_PUBLIC_KEY=
MAGENTO2_PRIVATE_KEY=
#
# Database
#
MAGENTO2_DB_HOSTNAME=localhost
MAGENTO2_DB_ROOTUSERNAME="--user=root"
MAGENTO2_DB_ROOTPASSWORD="--password=password"
MAGENTO2_DB_NAME=m2_
MAGENTO2_DB_USERNAME=m2_
MAGENTO2_DB_PASSWORD=m2_
# For updating Magento - whether to dump the db first before doing anything (bool)
MAGENTO2_DB_BACKUPFIRST=
# Drop the db, drop the db user, create new db, create new db user (bool)
MAGENTO2_DB_RESET=
# Import new database? (bool)
MAGENTO2_DB_IMPORT=
# Import a Sonassi DB backup
MAGENTO2_DB_IMPORT_SONASSI=
# SQL filename for import (string)
MAGENTO2_DB_IMPORT_DUMPNAME= # Must be in uncompressed format
# SQL filename for export (string)
MAGENTO2_DB_EXPORT_DUMPNAME=
#
# Integration Tests
# Run ./install-m2/25-setup-integration-tests-database.sh to create the db and user
# You'll also need to change the details in dev/tests/integration/etc/install-config-mysql.php
#
MAGENTO2_INTEGRATION_TESTS_DB_HOSTNAME=localhost
MAGENTO2_INTEGRATION_TESTS_DB_NAME=magento_integration_tests
MAGENTO2_INTEGRATION_TESTS_DB_USERNAME=magento_integration_tests
MAGENTO2_INTEGRATION_TESTS_DB_PASSWORD=magento_integration_tests
#
# Magento 2 Admin
#
MAGENTO2_ADMIN_FIRSTNAME=Admin
MAGENTO2_ADMIN_LASTNAME=User
[email protected] # Must be unique
MAGENTO2_ADMIN_USERNAME=admin
MAGENTO2_ADMIN_PASSWORD=password123 # Must be alphanumeric and be longer than seven characters
MAGENTO2_ADMIN_FRONTNAME=admin
#
# Magento 2 Locale
#
MAGENTO2_LOCALE_CODE=en_GB
MAGENTO2_LOCALE_CURRENCY=GBP
MAGENTO2_LOCALE_TIMEZONE=Europe/London
#
# Magento 2 Environment
#
MAGENTO2_ENV_VERSION=2.4.5-p1 # e.g. 2.4.5. For upgrading Magento 2 core framework.
MAGENTO2_ENV_EDITION=community # e.g. community or enterprise
MAGENTO2_ENV_HOSTNAME= # e.g. project.localhost.com (without www)
MAGENTO2_ENV_WEBROOT= # e.g. /var/www/html/project/htdocs
MAGENTO2_ENV_USEREWRITES=1 # Whether to use URL rewrites (if using Apache)
MAGENTO2_ENV_USESECURITYKEY=1 # Whether to add security key to URLs in admin
MAGENTO2_ENV_SESSIONSAVE=files # Where to save session files
MAGENTO2_ENV_ENABLECRON= # Whether to enable Magento 2 cron jobs
MAGENTO2_ENV_CLIUSER=zone8 # The user which owns the files (e.g. administrator)
MAGENTO2_ENV_WEBSERVERGROUP=zone8 # The web server group (e.g. www-data)
MAGENTO2_ENV_RESETPERMISSIONS= # Whether to run chmod/chown commands to reset permissions
MAGENTO2_ENV_PHPCOMMAND='/usr/bin/php8.1' # Path to PHP version to use (e.g. /usr/bin/php8.1)
MAGENTO2_ENV_COMPOSERCOMMAND='/usr/bin/php8.1 /usr/local/bin/composer2'
#
# Extra arguments to pass to bin/magento setup:install command
#
MAGENTO2_INSTALLCOMMAND_CLEANUPDATABASE= # Set to "--cleanup-database" to enable this
MAGENTO2_INSTALLCOMMAND_EXTRAARGUMENTS='--search-engine=elasticsearch6'
#
# Themes to exclude from bin/magento setup:static-content:deploy command
#
MAGENTO2_STATICCONTENTDEPLOY_EXCLUDE=true
MAGENTO2_STATICCONTENTDEPLOY_EXCLUDEDTHEMES=" --exclude-theme=Magento/blank "