diff --git a/configuration/magento2-testing.md b/configuration/magento2-testing.md index 9529965..3c0d1b5 100644 --- a/configuration/magento2-testing.md +++ b/configuration/magento2-testing.md @@ -77,6 +77,10 @@ All the necessary files are located in `dev/tests/integration/`: 2. You need to create `etc/install-config-mysql.php` based on `etc/install-config-mysql.php.dist` as a template. The arguments are exactly the same to those you use for `bin/magento setup:install`: + :::{note} + Please note the below values for cache and session may be different if using Valkey instead of Redis + ::: + ```php return [ 'db-host' => 'tmp-mysql', diff --git a/environments/customizing.md b/environments/customizing.md index 236c606..d5a936c 100644 --- a/environments/customizing.md +++ b/environments/customizing.md @@ -11,6 +11,7 @@ The versions of MariaDB, Elasticsearch, Varnish, Redis, NodeJS and Composer may * `MARIADB_VERSION` * `ELASTICSEARCH_VERSION` * `REDIS_VERSION` + * `VALKEY_VERSION` * `VARNISH_VERSION` * `RABBITMQ_VERSION` * `NODE_VERSION` @@ -20,6 +21,7 @@ Start of some environments could be skipped by using variables in `.env` file: * `WARDEN_DB=0` * `WARDEN_REDIS=0` + * `WARDEN_VALKEY=0` ## Docker Specific Customizations To override default docker settings, add a custom configuration file in your project root diff --git a/environments/magento2.md b/environments/magento2.md index 91da390..efb0eec 100644 --- a/environments/magento2.md +++ b/environments/magento2.md @@ -61,6 +61,15 @@ In addition to the below manual process, there is a `Github Template available f BLACKFIRE_SERVER_ID= BLACKFIRE_SERVER_TOKEN= + :::{note} + Starting with Magento 2.4.8, set: + + WARDEN_REDIS=0 + WARDEN_VALKEY=1 + VALKEY_VERSION=8.1 + + ::: + 3. Sign an SSL certificate for use with the project (the input here should match the value of `TRAEFIK_DOMAIN` in the above `.env` example file): warden sign-certificate exampleproject.test @@ -102,6 +111,10 @@ In addition to the below manual process, there is a `Github Template available f 8. Install the application and you should be all set: + :::{note} + Please note that if using Valkey instead of Redis, the value of the session and cache flags will be different + ::: + ## Install Application bin/magento setup:install \ --backend-frontname=backend \ diff --git a/usage.md b/usage.md index 280ad3c..f09c30d 100644 --- a/usage.md +++ b/usage.md @@ -34,15 +34,17 @@ Flush varnish: warden env exec -T varnish varnishadm 'ban req.url ~ .' -Connect to redis: +Connect to redis/valkey: warden redis + warden valkey -Flush redis completely: +Flush redis/valkey completely: warden redis flushall + warden valkey flushall -Run redis continous stat mode +Run redis continuous stat mode warden redis --stat