Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Add command to configure varnish section so that Varnish is purged wh… #5721

Merged
merged 4 commits into from
Oct 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions guides/v2.2/cloud/docker/docker-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down