From da6c2b5503f08deba63421606ae7c09bc8f95763 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 1 Aug 2018 22:04:33 +0300 Subject: Add Matomo options. --- docker-compose.yml | 7 ++++++- snap-src/bin/config | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4d77e626..34e32d5e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,9 +41,14 @@ services: # If you disable Wekan API with 'false', Export Board does not work. - WITH_API=true # Optional: Integration with Matomo https://matomo.org that is installed to your server + # The address of the server where Matomo is hosted: # - MATOMO_ADDRESS='https://example.com/matomo' + # The value of the site ID given in Matomo server for Wekan # - MATOMO_SITE_ID='123456789' - + # The option do not track which enables users to not be tracked by matomo" + # - MATOMO_DO_NOT_TRACK='false' + # The option that allows matomo to retrieve the username: + # - MATOMO_WITH_USERNAME='true' depends_on: - wekandb diff --git a/snap-src/bin/config b/snap-src/bin/config index db2a0221..9aa2841e 100755 --- a/snap-src/bin/config +++ b/snap-src/bin/config @@ -53,15 +53,17 @@ DEFAULT_WITH_API="true" KEY_WITH_API="with-api" DESCRIPTION_MATOMO_ADDRESS="The address of the server where matomo is hosted" +DEFAULT_MATOMO_ADDRESS="" KEY_MATOMO_ADDRESS="matomo-address" DESCRIPTION_MATOMO_SITE_ID="The value of the site ID given in matomo server for wekan" +DEFAULT_MATOMO_SITE_ID="" 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" +DEFAULT_MATOMO_DO_NOT_TRACK="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" +DEFAULT_MATOMO_WITH_USERNAME="false" KEY_MATOMO_WITH_USERNAME="matomo-with-username" -- cgit v1.2.3-1-g7c22