start-wekan.bat 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  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 ------------------------------------------------------------
  31. REM # Enable the OAuth2 connection
  32. REM # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
  33. REM # example: OAUTH2_ENABLED=true
  34. REM SET OAUTH2_ENABLED=false
  35. REM # OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345
  36. REM # example: OAUTH2_CLIENT_ID=abcde12345
  37. REM SET OAUTH2_CLIENT_ID=
  38. REM # OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde
  39. REM # example: OAUTH2_SECRET=54321abcde
  40. REM SET OAUTH2_SECRET=
  41. REM # OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com
  42. REM # example: OAUTH2_SERVER_URL=https://chat.example.com
  43. REM SET OAUTH2_SERVER_URL=
  44. REM # OAuth2 Authorization Endpoint. Example: /oauth/authorize
  45. REM # example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize
  46. REM SET OAUTH2_AUTH_ENDPOINT=
  47. REM # OAuth2 Userinfo Endpoint. Example: /oauth/userinfo
  48. REM # example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
  49. REM SET OAUTH2_USERINFO_ENDPOINT=
  50. REM # OAuth2 Token Endpoint. Example: /oauth/token
  51. REM # example: OAUTH2_TOKEN_ENDPOINT=/oauth/token
  52. REM SET OAUTH2_TOKEN_ENDPOINT=
  53. REM ------------------------------------------------------------
  54. REM # LDAP_ENABLE : Enable or not the connection by the LDAP
  55. REM # example : LDAP_ENABLE=true
  56. REM SET LDAP_ENABLE=false
  57. REM # LDAP_PORT : The port of the LDAP server
  58. REM # example : LDAP_PORT=389
  59. REM SET LDAP_PORT=389
  60. REM # LDAP_HOST : The host server for the LDAP server
  61. REM # example : LDAP_HOST=localhost
  62. REM SET LDAP_HOST=
  63. REM # LDAP_BASEDN : The base DN for the LDAP Tree
  64. REM # example : LDAP_BASEDN=ou=user,dc=example,dc=org
  65. REM SET LDAP_BASEDN=
  66. REM # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method
  67. REM # example : LDAP_LOGIN_FALLBACK=true
  68. REM SET LDAP_LOGIN_FALLBACK=false
  69. REM # LDAP_RECONNECT : Reconnect to the server if the connection is lost
  70. REM # example : LDAP_RECONNECT=false
  71. REM SET LDAP_RECONNECT=true
  72. REM # LDAP_TIMEOUT : Overall timeout, in milliseconds
  73. REM # example : LDAP_TIMEOUT=12345
  74. REM SET LDAP_TIMEOUT=10000
  75. REM # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds
  76. REM # example : LDAP_IDLE_TIMEOUT=12345
  77. REM SET LDAP_IDLE_TIMEOUT=10000
  78. REM # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds
  79. REM # example : LDAP_CONNECT_TIMEOUT=12345
  80. REM SET LDAP_CONNECT_TIMEOUT=10000
  81. REM # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search
  82. REM # example : LDAP_AUTHENTIFICATION=true
  83. REM SET LDAP_AUTHENTIFICATION=false
  84. REM # LDAP_AUTHENTIFICATION_USERDN : The search user DN
  85. REM # example: LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org
  86. REM SET LDAP_AUTHENTIFICATION_USERDN=
  87. REM # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user
  88. REM # example : AUTHENTIFICATION_PASSWORD=admin
  89. REM SET LDAP_AUTHENTIFICATION_PASSWORD=
  90. REM # LDAP_LOG_ENABLED : Enable logs for the module
  91. REM # example : LDAP_LOG_ENABLED=true
  92. REM SET LDAP_LOG_ENABLED=false
  93. REM # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background
  94. REM # example : LDAP_BACKGROUND_SYNC=true
  95. REM SET LDAP_BACKGROUND_SYNC=false
  96. REM # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds
  97. REM # example : LDAP_BACKGROUND_SYNC_INTERVAL=12345
  98. REM SET LDAP_BACKGROUND_SYNC_INTERVAL=100
  99. REM # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED :
  100. REM # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true
  101. REM SET LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
  102. REM # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS :
  103. REM # example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true
  104. REM SET LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
  105. REM # LDAP_ENCRYPTION : If using LDAPS
  106. REM # example : LDAP_ENCRYPTION=ssl
  107. REM SET LDAP_ENCRYPTION=false
  108. REM # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file.
  109. REM # example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----
  110. REM SET LDAP_CA_CERT=
  111. REM # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate
  112. REM # example : LDAP_REJECT_UNAUTHORIZED=true
  113. REM SET LDAP_REJECT_UNAUTHORIZED=false
  114. REM # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed
  115. REM # example : LDAP_USER_SEARCH_FILTER=
  116. REM SET LDAP_USER_SEARCH_FILTER=
  117. 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)
  118. REM # example : LDAP_USER_SEARCH_SCOPE=one
  119. REM SET LDAP_USER_SEARCH_SCOPE=
  120. REM # LDAP_USER_SEARCH_FIELD : Which field is used to find the user
  121. REM # example : LDAP_USER_SEARCH_FIELD=uid
  122. REM SET LDAP_USER_SEARCH_FIELD=
  123. REM # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited)
  124. REM # example : LDAP_SEARCH_PAGE_SIZE=12345
  125. REM SET LDAP_SEARCH_PAGE_SIZE=0
  126. REM # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited)
  127. REM #33 example : LDAP_SEARCH_SIZE_LIMIT=12345
  128. REM SET LDAP_SEARCH_SIZE_LIMIT=0
  129. REM # LDAP_GROUP_FILTER_ENABLE : Enable group filtering
  130. REM # example : LDAP_GROUP_FILTER_ENABLE=true
  131. REM SET LDAP_GROUP_FILTER_ENABLE=false
  132. REM # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering
  133. REM # example : LDAP_GROUP_FILTER_OBJECTCLASS=group
  134. REM SET LDAP_GROUP_FILTER_OBJECTCLASS=
  135. REM # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE :
  136. REM # example :
  137. REM SET LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
  138. REM # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE :
  139. REM # example :
  140. REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=
  141. REM # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT :
  142. REM # example :
  143. REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=
  144. REM # LDAP_GROUP_FILTER_GROUP_NAME :
  145. REM # example :
  146. REM SET LDAP_GROUP_FILTER_GROUP_NAME=
  147. REM # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier)
  148. REM # example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid
  149. REM SET LDAP_UNIQUE_IDENTIFIER_FIELD=
  150. REM # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8
  151. REM # example : LDAP_UTF8_NAMES_SLUGIFY=false
  152. REM SET LDAP_UTF8_NAMES_SLUGIFY=true
  153. REM # LDAP_USERNAME_FIELD : Which field contains the ldap username
  154. REM # example : LDAP_USERNAME_FIELD=username
  155. REM SET LDAP_USERNAME_FIELD=
  156. REM # LDAP_MERGE_EXISTING_USERS :
  157. REM # example : LDAP_MERGE_EXISTING_USERS=true
  158. REM SET LDAP_MERGE_EXISTING_USERS=false
  159. REM # LDAP_SYNC_USER_DATA :
  160. REM # example : LDAP_SYNC_USER_DATA=true
  161. REM SET LDAP_SYNC_USER_DATA=false
  162. REM # LDAP_SYNC_USER_DATA_FIELDMAP :
  163. REM # example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"}
  164. REM SET LDAP_SYNC_USER_DATA_FIELDMAP=
  165. REM # LDAP_SYNC_GROUP_ROLES :
  166. REM # example :
  167. REM # SET LDAP_SYNC_GROUP_ROLES=
  168. 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
  169. REM # example :
  170. REM SET LDAP_DEFAULT_DOMAIN=
  171. REM ------------------------------------------------
  172. REM # LOGOUT_WITH_TIMER : Enables or not the option logout with timer
  173. REM # example : LOGOUT_WITH_TIMER=true
  174. REM SET LOGOUT_WITH_TIMER=
  175. REM # LOGOUT_IN : The number of days
  176. REM # example : LOGOUT_IN=1
  177. REM SET LOGOUT_IN=
  178. REM # LOGOUT_ON_HOURS : The number of hours
  179. REM # example : LOGOUT_ON_HOURS=9
  180. REM SET LOGOUT_ON_HOURS=
  181. REM # LOGOUT_ON_MINUTES : The number of minutes
  182. REM # example : LOGOUT_ON_MINUTES=55
  183. REM SET LOGOUT_ON_MINUTES=
  184. cd .build\bundle
  185. node main.js
  186. cd ..\..