From ec59af3777f5ac88ee6ad44a502c0de5d35213e2 Mon Sep 17 00:00:00 2001 From: guillaume Date: Fri, 27 Jul 2018 18:08:09 +0200 Subject: Integration of matomo with env vars --- snap-src/bin/config | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'snap-src') diff --git a/snap-src/bin/config b/snap-src/bin/config index 9feada7b..46fa2c3f 100755 --- a/snap-src/bin/config +++ b/snap-src/bin/config @@ -3,7 +3,7 @@ # All supported keys are defined here together with descriptions and default values # list of supported keys -keys="MONGODB_BIND_UNIX_SOCKET MONGODB_BIND_IP MONGODB_PORT MAIL_URL MAIL_FROM ROOT_URL PORT DISABLE_MONGODB CADDY_ENABLED CADDY_BIND_PORT WITH_API" +keys="MONGODB_BIND_UNIX_SOCKET MONGODB_BIND_IP MONGODB_PORT MAIL_URL MAIL_FROM ROOT_URL PORT DISABLE_MONGODB CADDY_ENABLED CADDY_BIND_PORT WITH_API MATOMO_ADDRESS MATOMO_SITE_ID MATOMO_DO_NOT_TRACK MATOMO_WITH_USERNAME" # default values DESCRIPTION_MONGODB_BIND_UNIX_SOCKET="mongodb binding unix socket:\n"\ @@ -51,3 +51,17 @@ KEY_CADDY_BIND_PORT="caddy-bind-port" DESCRIPTION_WITH_API="Enable/disable the api of wekan" DEFAULT_WITH_API="false" KEY_WITH_API="with-api" + +DESCRIPTION_MATOMO_ADDRESS="The address of the server where matomo is hosted" +KEY_MATOMO_ADDRESS="matomo-address" + +DESCRIPTION_MATOMO_SITE_ID="The value of the site ID given in matomo server for wekan" +KEY_MATOMO_SITE_ID="matomo-site-id" + +DESCRIPTION_MATOMO_DO_NOT_TRACK="The option do not track which enables users to not be tracked by matomo" +DEFAULT_CADDY_BIND_PORT="false" +KEY_MATOMO_DO_NOT_TRACK="matomo-do-not-track" + +DESCRIPTION_MATOMO_WITH_USERNAME="The option that allows matomo to retrieve the username" +DEFAULT_CADDY_BIND_PORT="false" +KEY_MATOMO_WITH_USERNAME="matomo-with-username" -- cgit v1.2.3-1-g7c22