summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-01 22:04:33 +0300
committerLauri Ojansivu <x@xet7.org>2018-08-01 22:04:33 +0300
commitda6c2b5503f08deba63421606ae7c09bc8f95763 (patch)
treec84353f19bec59dcbeb8473e971af849a1608b2a
parent57d43f916f92c06e563b92579cc91c59432cd1dd (diff)
downloadwekan-da6c2b5503f08deba63421606ae7c09bc8f95763.tar.gz
wekan-da6c2b5503f08deba63421606ae7c09bc8f95763.tar.bz2
wekan-da6c2b5503f08deba63421606ae7c09bc8f95763.zip
Add Matomo options.
-rw-r--r--docker-compose.yml7
-rwxr-xr-xsnap-src/bin/config6
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"