docker
docker copied to clipboard
How to add trusted_hosts with docker on K8s
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
followiing : if you found the solution please reach out
@pengsili do you have a PersistentVolumeClaim for your config directory?
Maybe #210 or #295 help here.