start-wekan.bat 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. SET MONGO_URL=mongodb://127.0.0.1:27017/wekan
  2. SET ROOT_URL=http://127.0.0.1:2000/
  3. SET MAIL_URL=smtp://user:pass@mailserver.example.com:25/
  4. SET MAIL_FROM=admin@example.com
  5. SET PORT=2000
  6. REM If you disable Wekan API with false, Export Board does not work.
  7. SET WITH_API=true
  8. REM Optional: Integration with Matomo https://matomo.org that is installed to your server
  9. REM The address of the server where Matomo is hosted.
  10. REM example: - MATOMO_ADDRESS=https://example.com/matomo
  11. REM SET MATOMO_ADDRESS=
  12. REM The value of the site ID given in Matomo server for Wekan
  13. REM example: - MATOMO_SITE_ID=12345
  14. REM SET MATOMO_SITE_ID=
  15. REM The option do not track which enables users to not be tracked by matomo
  16. REM example: - MATOMO_DO_NOT_TRACK=false
  17. REM SET MATOMO_DO_NOT_TRACK=
  18. REM The option that allows matomo to retrieve the username:
  19. REM example: MATOMO_WITH_USERNAME=true
  20. REM SET MATOMO_WITH_USERNAME=false
  21. REM Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
  22. REM Setting this to false is not recommended, it also disables all other browser policy protections
  23. REM and allows all iframing etc. See wekan/server/policy.js
  24. SET BROWSER_POLICY_ENABLED=true
  25. REM When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
  26. REM SET TRUSTED_URL=
  27. REM What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId .
  28. REM example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
  29. REM SET WEBHOOKS_ATTRIBUTES=
  30. REM Enable the OAuth2 connection
  31. REM example: OAUTH2_ENABLED=true
  32. REM SET OAUTH2_ENABLED=false
  33. REM OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
  34. REM OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345
  35. REM example: OAUTH2_CLIENT_ID=abcde12345
  36. REM SET OAUTH2_CLIENT_ID=
  37. REM OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde
  38. REM example: OAUTH2_SECRET=54321abcde
  39. REM SET OAUTH2_SECRET=
  40. REM OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com
  41. REM example: OAUTH2_SERVER_URL=https://chat.example.com
  42. REM SET OAUTH2_SERVER_URL=
  43. REM OAuth2 Authorization Endpoint. Example: /oauth/authorize
  44. REM example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize
  45. REM SET OAUTH2_AUTH_ENDPOINT=
  46. REM OAuth2 Userinfo Endpoint. Example: /oauth/userinfo
  47. REM example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
  48. REM SET OAUTH2_USERINFO_ENDPOINT=
  49. REM OAuth2 Token Endpoint. Example: /oauth/token
  50. REM example: OAUTH2_TOKEN_ENDPOINT=/oauth/token
  51. REM SET OAUTH2_TOKEN_ENDPOINT=
  52. REM LDAP_ENABLE : Enable or not the connection by the LDAP
  53. REM example : LDAP_ENABLE=true
  54. REM SET LDAP_ENABLE=false
  55. REM LDAP_PORT : The port of the LDAP server
  56. REM example : LDAP_PORT=389
  57. REM SET LDAP_PORT=389
  58. REM LDAP_HOST : The host server for the LDAP server
  59. REM example : LDAP_HOST=localhost
  60. REM SET LDAP_HOST=
  61. REM LDAP_BASEDN : The base DN for the LDAP Tree
  62. REM example : LDAP_BASEDN=ou=user,dc=example,dc=org
  63. REM SET LDAP_BASEDN=
  64. REM LDAP_LOGIN_FALLBACK : Fallback on the default authentication method
  65. REM example : LDAP_LOGIN_FALLBACK=true
  66. REM SET LDAP_LOGIN_FALLBACK=false
  67. REM LDAP_RECONNECT : Reconnect to the server if the connection is lost
  68. REM example : LDAP_RECONNECT=false
  69. REM SET LDAP_RECONNECT=true
  70. REM LDAP_TIMEOUT : Overall timeout, in milliseconds
  71. REM example : LDAP_TIMEOUT=12345
  72. REM SET LDAP_TIMEOUT=10000
  73. REM LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds
  74. REM example : LDAP_IDLE_TIMEOUT=12345
  75. REM SET LDAP_IDLE_TIMEOUT=10000
  76. REM LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds
  77. REM example : LDAP_CONNECT_TIMEOUT=12345
  78. REM SET LDAP_CONNECT_TIMEOUT=10000
  79. REM LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search
  80. REM example : LDAP_AUTHENTIFICATION=true
  81. REM SET LDAP_AUTHENTIFICATION=false
  82. REM LDAP_AUTHENTIFICATION_USERDN : The search user DN
  83. REM example : LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org
  84. REM SET LDAP_AUTHENTIFICATION_USERDN=
  85. REM LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user
  86. REM example : AUTHENTIFICATION_PASSWORD=admin
  87. REM SET LDAP_AUTHENTIFICATION_PASSWORD=
  88. REM LDAP_LOG_ENABLED : Enable logs for the module
  89. REM example : LDAP_LOG_ENABLED=true
  90. REM SET LDAP_LOG_ENABLED=false
  91. REM LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background
  92. REM example : LDAP_BACKGROUND_SYNC=true
  93. REM SET LDAP_BACKGROUND_SYNC=false
  94. REM LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds
  95. REM example : LDAP_BACKGROUND_SYNC_INTERVAL=12345
  96. REM SET LDAP_BACKGROUND_SYNC_INTERVAL=100
  97. REM LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED :
  98. REM example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true
  99. REM SET LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
  100. REM LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS :
  101. REM example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true
  102. REM SET LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
  103. REM LDAP_ENCRYPTION : If using LDAPS
  104. REM example : LDAP_ENCRYPTION=ssl
  105. REM SET LDAP_ENCRYPTION=false
  106. REM LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file.
  107. REM example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----
  108. REM SET LDAP_CA_CERT=
  109. REM LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate
  110. REM example : LDAP_REJECT_UNAUTHORIZED=true
  111. REM SET LDAP_REJECT_UNAUTHORIZED=false
  112. REM LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed
  113. REM example : LDAP_USER_SEARCH_FILTER=
  114. REM SET LDAP_USER_SEARCH_FILTER=
  115. REM LDAP_USER_SEARCH_SCOPE : base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree)
  116. REM example : LDAP_USER_SEARCH_SCOPE=one
  117. REM SET LDAP_USER_SEARCH_SCOPE=
  118. REM LDAP_USER_SEARCH_FIELD : Which field is used to find the user
  119. REM example : LDAP_USER_SEARCH_FIELD=uid
  120. REM SET LDAP_USER_SEARCH_FIELD=
  121. REM LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited)
  122. REM example : LDAP_SEARCH_PAGE_SIZE=12345
  123. REM SET LDAP_SEARCH_PAGE_SIZE=0
  124. REM LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited)
  125. REM example : LDAP_SEARCH_SIZE_LIMIT=12345
  126. REM SET LDAP_SEARCH_SIZE_LIMIT=0
  127. REM LDAP_GROUP_FILTER_ENABLE : Enable group filtering
  128. REM example : LDAP_GROUP_FILTER_ENABLE=true
  129. REM SET LDAP_GROUP_FILTER_ENABLE=false
  130. REM LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering
  131. REM example : LDAP_GROUP_FILTER_OBJECTCLASS=group
  132. REM SET LDAP_GROUP_FILTER_OBJECTCLASS=
  133. REM LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE :
  134. REM example :
  135. REM SET LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
  136. REM LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE :
  137. REM example :
  138. REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=
  139. REM LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT :
  140. REM example :
  141. REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=
  142. REM LDAP_GROUP_FILTER_GROUP_NAME :
  143. REM example :
  144. REM SET LDAP_GROUP_FILTER_GROUP_NAME=
  145. REM LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier)
  146. REM example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid
  147. REM SET LDAP_UNIQUE_IDENTIFIER_FIELD=
  148. REM LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8
  149. REM example : LDAP_UTF8_NAMES_SLUGIFY=false
  150. REM SET LDAP_UTF8_NAMES_SLUGIFY=true
  151. REM LDAP_USERNAME_FIELD : Which field contains the ldap username
  152. REM example : LDAP_USERNAME_FIELD=username
  153. REM SET LDAP_USERNAME_FIELD=
  154. REM LDAP_MERGE_EXISTING_USERS :
  155. REM example : LDAP_MERGE_EXISTING_USERS=true
  156. REM SET LDAP_MERGE_EXISTING_USERS=false
  157. REM LDAP_SYNC_USER_DATA :
  158. REM example : LDAP_SYNC_USER_DATA=true
  159. REM SET LDAP_SYNC_USER_DATA=false
  160. REM LDAP_SYNC_USER_DATA_FIELDMAP :
  161. REM example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"}
  162. REM SET LDAP_SYNC_USER_DATA_FIELDMAP=
  163. REM LDAP_SYNC_GROUP_ROLES :
  164. REM example :
  165. REM SET LDAP_SYNC_GROUP_ROLES=
  166. REM LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP
  167. REM example :
  168. REM SET LDAP_DEFAULT_DOMAIN=
  169. cd .build\bundle
  170. node main.js
  171. cd ..\..