matomo-org / matomo-org/docker
How to add trusted_hosts with docker on K8s
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1k
- Forks
- 384
- PR merge metrics
- No merged PRs in 30d
Description
Hi support,
We have be using matomo for many years. These days, we are planning to migrate it to our cloud. On cloud, we use k8s + docker to run a matomo image whose tag is 4.2.1
All goes well, but when i first time access matomo, it shows that our domain name is not in trusted_hosts[] in config.ini.php. And need super user to manually edit it. Although i added our domain name, still showed that our domain name not in it.
Just want to know if there is any way to auto add trusted_hosts[],like environment variable setting when running docker image. And why i still could not access after i added our domain name . Need restart docker container after adding?
Thanks for your help
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by reviewing the Docker image configuration and Matomo's trusted_hosts setup for the 4.2.1 image, then check whether Kubernetes or container environment settings support this configuration and whether a restart is required. Done means providing a verified configuration path and explaining why the reported manual change did not take effect.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100