Supported settings keys

Lauri Ojansivu edited this page Dec 3, 2018 · 17 revisions

Wekan supports settings key values:

$ snap set wekan <key name>='<key value>'

List your current snap settings

sudo snap get wekan


Example from setting listed at this config file:

sudo snap set wekan ldap-fullname-field='CN'

List of supported keys

mongodb-bind-unix-socket:   mongodb binding unix socket:
		 Default behaviour will preffer binding over unix socket, to
		 disable unix socket binding set value to 'nill' string
		 To bind to instance of mongodb provided through content
		 interface, set value to relative path to the socket inside
		 'shared' directory.
		 Default value: set to use unix socket binding
mongodb-bind-ip: mongodb binding ip address: eg for localhost
	 	 If not defined default unix socket binding is used instead
		 Default value: ''
mongodb-port:    mongodb binding port: eg 27017 when using localhost
		 Default value: '27019'
mail-url:	 wekan mail binding
		 Example: 'smtps://'
		 Default value: 'smtp://'
mail-from:	 wekan's admin mail from name email address
		 For example: 'Boards Support <>'
		 Default value: ''
root-url:	 wekan's root url, eg,,,
		 Default value: ''
port:		 port wekan is exposed at
		 Default value: '8080'
disable-mongodb: Disable mongodb service: use only if binding to
		 database outside of Wekan snap. Valid values: [true,false]
		 Default value: 'false'
caddy-enabled:   Enable caddy service (caddy - Every Site on HTTPS).
                 see and
                 use personal non-commercial license or
                 contact Wekan maintainer about enabling
                 commercial license for Caddy.
                 Set to 'true' to enable caddy.
		 caddy settings are handled through
		 Default value: 'false'
caddy-bind-port: Port on which caddy will expect proxy, same value
                 will be also set in Caddyfile
		 Default value: '3001'
with-api:        To enable the API of wekan. If API is disabled,
                 exporting board to JSON does not work.
                 Default value: 'true'
cors:            Set Access-Control-Allow-Origin header. Example:
                 snap set wekan cors='*'
                 Default value, disabled: ''
browser-policy-enabled: Enable browser policy and allow one
                 trusted URL that can have iframe that has
                 Wekan embedded inside.
                 Setting this to false is not recommended,
                 it also disables all other browser policy protections
                 and allows all iframing etc. See wekan/server/policy.js
                 Default value: 'true'
trusted-url:     When browser policy is enabled, HTML code at this URL
                 can have iframe that embeds Wekan inside.
                 Example: trusted-url=''
                 Default value: ''
webhooks-attributes: What to send to Outgoing Webhook, or leave out.
                 Example, that includes all that are default: 
                 cardId,listId,oldListId,boardId,comment,user,card,commentId .
                 To enable the Webhooks Attributes of Wekan:
                 snap set wekan webhooks-attributes=cardId,listId,oldListId,boardId,comment,user,card,commentId
                 Disable the Webhooks Attributest of Wekan to send all default ones:
                 snap set wekan webhooks-attributes=''

Rocket.Chat providing OAuth2 login to Wekan

Also, if you have Rocket.Chat using LDAP/SAML/Google/etc for logging into Rocket.Chat, then same users can login to Wekan when Rocket.Chat is providing OAuth2 login to Wekan.

OAuth2 Login Docs

Matomo web analytics integration


sudo snap set wekan matomo-address=''
sudo snap set wekan matomo-site-id='25'
sudo snap set wekan matomo-with-username='true'
sudo snap set wekan matomo-do-not-track='false'

Matomo settings keys:

matomo-address:  The address of the server where matomo is hosted
                 No value set, using default value: ''
matomo-site-id:  The value of the site ID given in matomo server for wekan
                 No value set, using default value: ''
matomo-do-not-track: The option do not track which enables users to not be tracked by matomo
		 Current value set to: 'true', (default value: 'true')
matomo-with-username: The option that allows matomo to retrieve the username
		 Current value set to: 'false', (default value: 'false')

When settings are changed, wekan/mongo/caddy services are automatically restarted for changes to take effect.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.