-
Comment out
VIRTUAL_HOST=<project_name>.drude
in theweb
service definition indocker-compose.yml
. -
Add
varnish
service indocker-compose.yml
Replace
<project_name>
with your project name.# Varnish node varnish: hostname: varnish image: blinkreaction/drupal-varnish:3.0-stable links: - web environment: - VARNISH_BACKEND_HOST=web.<project_name>.docker - VIRTUAL_HOST=<project_name>.drude
-
Apply new configuration with
dsh up
See https://github.com/blinkreaction/docker-drupal-varnish for additional configuration options.