浏览代码

Add Matomo options.

Lauri Ojansivu 7 年之前
父节点
当前提交
da6c2b5503
共有 2 个文件被更改,包括 10 次插入3 次删除
  1. 6 1
      docker-compose.yml
  2. 4 2
      snap-src/bin/config

+ 6 - 1
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
 

+ 4 - 2
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"