diff --git a/guides/v2.2/cloud/docker/docker-config.md b/guides/v2.2/cloud/docker/docker-config.md index 609168b44af..ea2831e178c 100644 --- a/guides/v2.2/cloud/docker/docker-config.md +++ b/guides/v2.2/cloud/docker/docker-config.md @@ -148,7 +148,9 @@ Continue launching your Docker environment in the default _production_ mode. 1. Configure and connect Varnish. ```bash - docker-compose run deploy magento-command config:set system/full_page_cache/caching_application 2 --lock-env + docker-compose run deploy magento-command config:set system/full_page_cache/caching_application 2 --lock-env && + \ + docker-compose run deploy magento-command setup:config:set --http-cache-hosts=varnish ``` 1. Clear the cache. @@ -243,7 +245,8 @@ The `{{site.data.var.ct}}` version 2002.0.18 and later supports developer mode. 1. Configure and connect Varnish. ```bash - docker-compose run deploy magento-command config:set system/full_page_cache/caching_application 2 --lock-env + docker-compose run deploy magento-command config:set system/full_page_cache/caching_application 2 --lock-env && \ + docker-compose run deploy magento-command setup:config:set --http-cache-hosts=varnish ``` 1. Clear the cache.