magento / magento/ece-tools

Add option for http_cache_hosts

Open
#697 8 comments 0 reactions 0 assignees View on GitHub
community feature request
Dominant language
PHP
Stars
119
Forks
81
PR merge metrics
No merged PRs in 30d

Description

To enable Varnish in env.php an additional command needs to be executed:
`bin/magento setup:config:set --http-cache-hosts=varnish`

It seems there is no possibility to append

```
'http_cache_hosts' => [
[
'host' => 'varnish'
]
]
```

to env.php in ece-tools.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how ece-tools generates env.php and handles the setup:config:set --http-cache-hosts=varnish command. Check how the requested http_cache_hosts structure is represented and whether existing configuration generation coverage exercises it. Done means ece-tools can produce the equivalent env.php configuration without requiring the additional command.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.