docker icon indicating copy to clipboard operation
docker copied to clipboard

No environment variables used for config

Open leonixyz opened this issue 5 years ago • 4 comments

If the container for some reason gets restarted, for example as it regularly happen on a kubernetes cluster, the config is lost and the container stops working!

Please use environment variables to store config values like DB host, user, pass, etc.

Take the Wordpress image as a reference

leonixyz avatar Nov 14 '18 13:11 leonixyz

This depends probably on https://github.com/matomo-org/matomo/pull/13676

Findus23 avatar Nov 14 '18 14:11 Findus23

The mentioned PR was merged, can we expect this functionality for docker now?

SamuelNitsche avatar Nov 27 '18 10:11 SamuelNitsche

@SamuelNitsche PR welcomed :)

pierreozoux avatar Dec 05 '18 10:12 pierreozoux

I've just added them to the docs in 13a4200cd68099e050dd4022edc876f2f96d4959 but you still have to complete the wizard. See also https://github.com/matomo-org/matomo/issues/10257

J0WI avatar Jul 23 '19 22:07 J0WI

Some ENVs are supported trough plugins https://github.com/matomo-org/matomo/issues/10914

J0WI avatar Nov 26 '22 15:11 J0WI