File tree Expand file tree Collapse file tree 2 files changed +51
-0
lines changed
Expand file tree Collapse file tree 2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## [ 2.0.2] - 2019-03-05
4+ ### Added
5+ - Documentation for Redis configuration
6+
7+
38## [ 2.0.1] - 2019-03-05
49### Updated
510- Documentation
611
12+
713## [ 2.0.0] - 2019-03-05
814### Added
915- MailHog container
1622- Documentation
1723- Renamed hostname
1824
25+
1926## [ 1.0.0] - 2018-08-15
2027### Added
2128- CHANGELOG.md file to keep changes between versions.
Original file line number Diff line number Diff line change @@ -57,6 +57,50 @@ php bin/magento setup:install \
5757
585810\. Open http://magento.local/
5959
60+ ## Using Redis for session and cache
61+ Open ./magento/app/etc/env.php and add/update the corresponding data:
62+ ``` php
63+ ...
64+ 'session' => [
65+ 'save' => 'redis',
66+ 'redis' => [
67+ 'host' => 'redis',
68+ 'port' => '6379',
69+ 'password' => '',
70+ 'timeout' => '2.5',
71+ 'persistent_identifier' => '',
72+ 'database' => '2',
73+ 'compression_threshold' => '2048',
74+ 'compression_library' => 'gzip',
75+ 'log_level' => '1',
76+ 'max_concurrency' => '6',
77+ 'break_after_frontend' => '5',
78+ 'break_after_adminhtml' => '30',
79+ 'first_lifetime' => '600',
80+ 'bot_first_lifetime' => '60',
81+ 'bot_lifetime' => '7200',
82+ 'disable_locking' => '0',
83+ 'min_lifetime' => '60',
84+ 'max_lifetime' => '2592000'
85+ ]
86+ ],
87+ ...
88+ 'cache' => [
89+ 'frontend' => [
90+ 'default' => [
91+ 'backend' => 'Cm_Cache_Backend_Redis',
92+ 'backend_options' => [
93+ 'server' => 'redis',
94+ 'database' => '0',
95+ 'port' => '6379'
96+ ]
97+ ]
98+ ]
99+ ]
100+ ...
101+
102+ ```
103+
60104## Connect to containers via SSH
61105Docker configuration contains such components as:
62106- web (nginx service)
You can’t perform that action at this time.
0 commit comments