Skip to content

Commit e6948dc

Browse files
author
Igor Sydorenko
committed
[2.0.2] Updated documentation
1 parent ff4abce commit e6948dc

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
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
@@ -16,6 +22,7 @@
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.

README.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,50 @@ php bin/magento setup:install \
5757

5858
10\. 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
61105
Docker configuration contains such components as:
62106
- web (nginx service)

0 commit comments

Comments
 (0)