2020-06-25 22:08:57 +03:00
@ ECHO OFF
2019-03-21 21:37:38 +02:00
REM ------------------------------------------------------------
2019-02-12 03:09:30 +02:00
REM # Debug OIDC OAuth2 etc.
REM SET DEBUG=true
REM ------------------------------------------------------------
2020-06-25 22:08:57 +03:00
SET ROOT_URL = http://localhost
SET PORT = 80
2018-11-04 18:32:08 +02:00
SET MONGO_URL = mongodb://127.0.0.1:27017/wekan
2020-06-25 22:08:57 +03:00
2022-03-29 00:12:07 +03:00
REM Writable path for temporary saving attachments during migration to Meteor-Files
REM Create directory wekan-uploads
2022-04-02 21:56:32 +03:00
SET WRITABLE_PATH = ..
2022-03-29 00:12:07 +03:00
2021-03-29 10:11:13 +03:00
REM # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail
2020-06-25 22:08:57 +03:00
REM SET MAIL_URL=smtps://username:password@email-smtp.eu-west-1.amazonaws.com:587/
REM SET MAIL_FROM="Wekan Boards <info@example.com>"
2021-10-28 13:06:43 +03:00
REM # Currently MAIL_SERVICE is not in use.
2021-08-21 16:32:07 +03:00
REM SET MAIL_SERVICE=Outlook365
REM SET MAIL_SERVICE_USER=firstname.lastname@hotmail.com
REM SET MAIL_SERVICE_PASSWORD=SecretPassword
2021-03-29 10:11:13 +03:00
REM # ==== NUMBER OF SEARCH RESULTS PER PAGE BY DEFAULT ====
REM SET RESULTS_PER_PAGE=20
2018-12-03 16:05:24 +02:00
REM # If you disable Wekan API with false, Export Board does not work.
2018-11-04 18:32:08 +02:00
SET WITH_API = true
2018-11-04 18:47:18 +02:00
2019-07-26 02:01:48 +03:00
REM # ==== RICH TEXT EDITOR IN CARD COMMENTS ====
REM # https://github.com/wekan/wekan/pull/2560
2020-02-05 01:17:15 +02:00
SET RICHER_CARD_COMMENT_EDITOR = false
2019-07-26 02:01:48 +03:00
2019-08-15 00:29:00 +03:00
REM # ==== CARD OPENED, SEND WEBHOOK MESSAGE ====
SET CARD_OPENED_WEBHOOK_ENABLED = false
2019-07-18 04:52:19 +03:00
REM # ==== Allow to shrink attached/pasted image ====
REM # https://github.com/wekan/wekan/pull/2544
REM SET MAX_IMAGE_PIXEL=1024
REM SET IMAGE_COMPRESS_RATIO=80
2019-03-11 19:47:23 +02:00
REM # ==== PASSWORD BRUTE FORCE PROTECTION ====
REM #https://atmospherejs.com/lucasantoniassi/accounts-lockout
REM #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js
REM SET ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3
REM SET ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60
REM SET ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15
REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3
REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60
REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15
2021-11-14 12:48:11 +01:00
REM # ==== ACCOUNT OPTIONS ====
REM SET ACCOUNTS_COMMON_LOGIN_EXPIRATION_IN_DAYS=90
2022-08-03 12:53:07 +02:00
REM # ==== Allow configuration to validate uploaded attachments ====
REM SET ATTACHMENTS_UPLOAD_MIME_TYPES="image/*,text/*"
REM SET ATTACHMENTS_UPLOAD_MAX_SIZE=5000000
2020-04-08 23:16:48 +03:00
REM # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE =====
REM # Number of days after a notification is read before we remove it.
REM # Default: 2
REM SET NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2
2019-07-11 17:14:34 -04:00
REM # ==== BIGEVENTS DUE ETC NOTIFICATIONS =====
REM # https://github.com/wekan/wekan/pull/2541
2019-08-26 22:27:45 +03:00
REM # Introduced a system env var BIGEVENTS_PATTERN default as "NONE",
2019-07-11 17:14:34 -04:00
REM # so any activityType matches the pattern, system will send out
REM # notifications to all board members no matter they are watching
REM # or tracking the board or not. Owner of the wekan server can
REM # disable the feature by setting this variable to "NONE" or
REM # change the pattern to any valid regex. i.e. '|' delimited
REM # activityType names.
2019-08-26 22:27:45 +03:00
REM # a) Example
2019-07-11 17:14:34 -04:00
REM SET BIGEVENTS_PATTERN=due
REM # b) All
REM SET BIGEVENTS_PATTERN=received|start|due|end
REM # c) Disabled
2019-08-26 22:27:45 +03:00
SET BIGEVENTS_PATTERN = NONE
2019-07-11 17:14:34 -04:00
2019-07-10 13:45:37 -04:00
REM # ==== EMAIL DUE DATE NOTIFICATION =====
REM # https://github.com/wekan/wekan/pull/2536
REM # System timelines will be showing any user modification for
REM # dueat startat endat receivedat, also notification to
REM # the watchers and if any card is due, about due or past due.
2019-12-20 16:32:38 +02:00
REM # Notify due days, default is None.
2019-10-01 10:39:36 -04:00
REM # SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0
2019-07-10 13:45:37 -04:00
REM # Notify due at hour of day. Default every morning at 8am. Can be 0-23.
REM # If env variable has parsing error, use default. Notification sent to watchers.
REM SET NOTIFY_DUE_AT_HOUR_OF_DAY=8
REM # ==== EMAIL NOTIFICATION TIMEOUT, ms =====
REM # Defaut: 30000 ms = 30s
REM SET EMAIL_NOTIFICATION_TIMEOUT=30000
2019-06-11 16:32:42 +03:00
REM # CORS: Set Access-Control-Allow-Origin header. Example: *
REM SET CORS=*
REM # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API.
REM SET CORS_ALLOW_HEADERS=Authorization,Content-Type
REM # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *
REM SET CORS_EXPOSE_HEADERS=*
2018-12-03 16:05:24 +02:00
REM # Optional: Integration with Matomo https://matomo.org that is installed to your server
REM # The address of the server where Matomo is hosted.
REM # example: - MATOMO_ADDRESS=https://example.com/matomo
2018-11-04 18:47:18 +02:00
REM SET MATOMO_ADDRESS=
2018-12-03 16:05:24 +02:00
REM # The value of the site ID given in Matomo server for Wekan
REM # example: - MATOMO_SITE_ID=12345
2018-11-04 18:47:18 +02:00
REM SET MATOMO_SITE_ID=
2018-12-03 16:05:24 +02:00
REM # The option do not track which enables users to not be tracked by matomo
REM # example: - MATOMO_DO_NOT_TRACK=false
2018-11-04 18:47:18 +02:00
REM SET MATOMO_DO_NOT_TRACK=
2018-12-03 16:05:24 +02:00
REM # The option that allows matomo to retrieve the username:
REM # example: MATOMO_WITH_USERNAME=true
2018-11-04 18:47:18 +02:00
REM SET MATOMO_WITH_USERNAME=false
2018-12-03 16:05:24 +02:00
REM # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.
REM # Setting this to false is not recommended, it also disables all other browser policy protections
REM # and allows all iframing etc. See wekan/server/policy.js
2018-11-04 18:47:18 +02:00
SET BROWSER_POLICY_ENABLED = true
2018-12-03 16:05:24 +02:00
REM # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside.
2018-11-04 18:47:18 +02:00
REM SET TRUSTED_URL=
2018-12-03 16:05:24 +02:00
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 .
REM # example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId
2018-11-04 18:47:18 +02:00
REM SET WEBHOOKS_ATTRIBUTES=
2018-12-03 16:05:24 +02:00
REM ------------------------------------------------------------
2022-07-11 17:44:58 +03:00
REM ## ==== AUTOLOGIN WITH OIDC/OAUTH2 ====
REM ## https://github.com/wekan/wekan/wiki/autologin
REM # SET OIDC_REDIRECTION_ENABLED=true
REM ------------------------------------------------------------
2020-10-02 23:15:39 +03:00
REM # OAUTH2 ORACLE on premise identity manager OIM
REM SET ORACLE_OIM_ENABLED=true
REM ------------------------------------------------------------
2018-12-03 16:05:24 +02:00
REM # Enable the OAuth2 connection
REM # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2
REM # example: OAUTH2_ENABLED=true
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_ENABLED=false
2018-12-03 16:05:24 +02:00
2020-11-01 23:14:20 +02:00
REM # Optional OAuth2 CA Cert, see https://github.com/wekan/wekan/issues/3299
REM SET OAUTH2_CA_CERT=ABCD1234
2020-09-13 09:41:53 +03:00
REM # Use OAuth2 ADFS additional changes. Also needs OAUTH2_ENABLED=true setting.
REM SET OAUTH2_ADFS_ENABLED=false
2018-12-03 16:05:24 +02:00
REM # OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345
REM # example: OAUTH2_CLIENT_ID=abcde12345
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_CLIENT_ID=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde
REM # example: OAUTH2_SECRET=54321abcde
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_SECRET=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com
REM # example: OAUTH2_SERVER_URL=https://chat.example.com
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_SERVER_URL=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Authorization Endpoint. Example: /oauth/authorize
REM # example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_AUTH_ENDPOINT=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Userinfo Endpoint. Example: /oauth/userinfo
REM # example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_USERINFO_ENDPOINT=
2018-12-03 16:05:24 +02:00
REM # OAuth2 Token Endpoint. Example: /oauth/token
REM # example: OAUTH2_TOKEN_ENDPOINT=/oauth/token
2018-11-04 18:47:18 +02:00
REM SET OAUTH2_TOKEN_ENDPOINT=
2019-05-22 21:37:01 +03:00
REM # OAUTH2 ID Token Whitelist Fields.
REM SET OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[]
REM # OAUTH2 Request Permissions.
2022-01-21 18:11:47 +02:00
REM SET OAUTH2_REQUEST_PERMISSIONS=openid profile email
2019-05-22 21:37:01 +03:00
REM # OAuth2 ID Mapping
REM SET OAUTH2_ID_MAP=
REM # OAuth2 Username Mapping
REM SET OAUTH2_USERNAME_MAP=
REM # OAuth2 Fullname Mapping
REM SET OAUTH2_FULLNAME_MAP=
REM # OAuth2 Email Mapping
REM SET OAUTH2_EMAIL_MAP=
2018-12-03 16:05:24 +02:00
REM ------------------------------------------------------------
REM # LDAP_ENABLE : Enable or not the connection by the LDAP
REM # example : LDAP_ENABLE=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_ENABLE=false
2018-12-03 16:05:24 +02:00
REM # LDAP_PORT : The port of the LDAP server
REM # example : LDAP_PORT=389
2018-11-04 18:47:18 +02:00
REM SET LDAP_PORT=389
2018-12-03 16:05:24 +02:00
REM # LDAP_HOST : The host server for the LDAP server
REM # example : LDAP_HOST=localhost
2018-11-04 18:47:18 +02:00
REM SET LDAP_HOST=
2018-12-03 16:05:24 +02:00
2021-07-24 19:20:47 +03:00
REM #-----------------------------------------------------------------
REM # ==== LDAP AD Simple Auth ====
REM # Set to true, if you want to connect with Active Directory by Simple Authentication.
REM # When using AD Simple Auth, LDAP_BASEDN is not needed.
REM SET LDAP_AD_SIMPLE_AUTH=true
REM #-----------------------------------------------------------------
REM # === LDAP User Authentication ===
REM #
REM # a) Option to login to the LDAP server with the user's own username and password, instead of
REM # an administrator key. Default: false (use administrator key).
REM #
REM # b) When using AD Simple Auth, set to true, when login user is used for binding,
REM # and LDAP_BASEDN is not needed.
REM #
REM # Example:
REM SET LDAP_USER_AUTHENTICATION=true
REM # Which field is used to find the user for the user authentication. Default: uid.
REM SET LDAP_USER_AUTHENTICATION_FIELD=uid
REM # === LDAP Default Domain ===
REM #
REM # a) In case AD SimpleAuth is configured, the default domain is appended to the given
REM # loginname for creating the correct username for the bind request to AD.
REM #
REM # b) The default domain of the ldap it is used to create email if the field is not map
REM # correctly with the LDAP_SYNC_USER_DATA_FIELDMAP
REM #
REM # Example :
REM SET LDAP_DEFAULT_DOMAIN=mydomain.com
REM #-----------------------------------------------------------------
REM # ==== LDAP BASEDN Auth ====
2018-12-03 16:05:24 +02:00
REM # LDAP_BASEDN : The base DN for the LDAP Tree
REM # example : LDAP_BASEDN=ou=user,dc=example,dc=org
2018-11-04 18:47:18 +02:00
REM SET LDAP_BASEDN=
2018-12-03 16:05:24 +02:00
2021-07-24 19:20:47 +03:00
REM #-----------------------------------------------------------------
2018-12-03 16:05:24 +02:00
REM # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method
REM # example : LDAP_LOGIN_FALLBACK=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_LOGIN_FALLBACK=false
2018-12-03 16:05:24 +02:00
REM # LDAP_RECONNECT : Reconnect to the server if the connection is lost
REM # example : LDAP_RECONNECT=false
2018-11-04 18:47:18 +02:00
REM SET LDAP_RECONNECT=true
2018-12-03 16:05:24 +02:00
REM # LDAP_TIMEOUT : Overall timeout, in milliseconds
REM # example : LDAP_TIMEOUT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_TIMEOUT=10000
2018-12-03 16:05:24 +02:00
REM # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds
REM # example : LDAP_IDLE_TIMEOUT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_IDLE_TIMEOUT=10000
2018-12-03 16:05:24 +02:00
REM # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds
REM # example : LDAP_CONNECT_TIMEOUT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_CONNECT_TIMEOUT=10000
2018-12-03 16:05:24 +02:00
REM # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search
REM # example : LDAP_AUTHENTIFICATION=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_AUTHENTIFICATION=false
2018-12-03 16:05:24 +02:00
REM # LDAP_AUTHENTIFICATION_USERDN : The search user DN
REM # example: LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org
2018-11-04 18:47:18 +02:00
REM SET LDAP_AUTHENTIFICATION_USERDN=
2018-12-03 16:05:24 +02:00
2019-09-06 01:22:15 +03:00
REM # The search user DN - You need quotes when you have spaces in parameters
REM # 2 examples:
REM SET LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan"
REM SET LDAP_AUTHENTIFICATION_USERDN="CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com"
2018-12-03 16:05:24 +02:00
REM # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user
REM # example : AUTHENTIFICATION_PASSWORD=admin
2018-11-04 18:47:18 +02:00
REM SET LDAP_AUTHENTIFICATION_PASSWORD=
2018-12-03 16:05:24 +02:00
REM # LDAP_LOG_ENABLED : Enable logs for the module
REM # example : LDAP_LOG_ENABLED=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_LOG_ENABLED=false
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background
REM # example : LDAP_BACKGROUND_SYNC=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC=false
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds
2019-07-26 09:11:28 +03:00
REM # At which interval does the background task sync in milliseconds.
REM # Leave this unset, so it uses default, and does not crash.
REM # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722
SET LDAP_BACKGROUND_SYNC_INTERVAL = ''
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED :
REM # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false
2018-12-03 16:05:24 +02:00
REM # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS :
REM # example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false
2018-12-03 16:05:24 +02:00
REM # LDAP_ENCRYPTION : If using LDAPS
REM # example : LDAP_ENCRYPTION=ssl
2018-11-04 18:47:18 +02:00
REM SET LDAP_ENCRYPTION=false
2018-12-03 16:05:24 +02:00
REM # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file.
REM # example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----
2018-11-04 18:47:18 +02:00
REM SET LDAP_CA_CERT=
2018-12-03 16:05:24 +02:00
REM # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate
REM # example : LDAP_REJECT_UNAUTHORIZED=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_REJECT_UNAUTHORIZED=false
2018-12-03 16:05:24 +02:00
REM # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed
REM # example : LDAP_USER_SEARCH_FILTER=
2018-11-04 18:47:18 +02:00
REM SET LDAP_USER_SEARCH_FILTER=
2018-12-03 16:05:24 +02:00
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)
REM # example : LDAP_USER_SEARCH_SCOPE=one
2018-11-04 18:47:18 +02:00
REM SET LDAP_USER_SEARCH_SCOPE=
2018-12-03 16:05:24 +02:00
REM # LDAP_USER_SEARCH_FIELD : Which field is used to find the user
REM # example : LDAP_USER_SEARCH_FIELD=uid
2018-11-04 18:47:18 +02:00
REM SET LDAP_USER_SEARCH_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited)
REM # example : LDAP_SEARCH_PAGE_SIZE=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_SEARCH_PAGE_SIZE=0
2018-12-03 16:05:24 +02:00
REM # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited)
REM #33 example : LDAP_SEARCH_SIZE_LIMIT=12345
2018-11-04 18:47:18 +02:00
REM SET LDAP_SEARCH_SIZE_LIMIT=0
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_ENABLE : Enable group filtering
REM # example : LDAP_GROUP_FILTER_ENABLE=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_ENABLE=false
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering
REM # example : LDAP_GROUP_FILTER_OBJECTCLASS=group
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_OBJECTCLASS=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT=
2018-12-03 16:05:24 +02:00
REM # LDAP_GROUP_FILTER_GROUP_NAME :
REM # example :
2018-11-04 18:47:18 +02:00
REM SET LDAP_GROUP_FILTER_GROUP_NAME=
2018-12-03 16:05:24 +02:00
REM # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier)
REM # example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid
2018-11-04 18:47:18 +02:00
REM SET LDAP_UNIQUE_IDENTIFIER_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8
REM # example : LDAP_UTF8_NAMES_SLUGIFY=false
2018-11-04 18:47:18 +02:00
REM SET LDAP_UTF8_NAMES_SLUGIFY=true
2018-12-03 16:05:24 +02:00
REM # LDAP_USERNAME_FIELD : Which field contains the ldap username
REM # example : LDAP_USERNAME_FIELD=username
2018-11-04 18:47:18 +02:00
REM SET LDAP_USERNAME_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_MERGE_EXISTING_USERS :
REM # example : LDAP_MERGE_EXISTING_USERS=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_MERGE_EXISTING_USERS=false
2018-12-03 16:05:24 +02:00
2019-02-21 09:02:47 +00:00
REM # LDAP_EMAIL_MATCH_ENABLE : allow existing account matching by e-mail address when username does not match
REM # example: LDAP_EMAIL_MATCH_ENABLE=true
REM SET LDAP_EMAIL_MATCH_ENABLE=false
REM # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match
REM # example: LDAP_EMAIL_MATCH_REQUIRE=true
REM SET LDAP_EMAIL_MATCH_REQUIRE=false
REM # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching
REM # example: LDAP_EMAIL_MATCH_VERIFIED=true
REM SET LDAP_EMAIL_MATCH_VERIFIED=false
REM # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address
REM # example: LDAP_EMAIL_FIELD=mail
REM SET LDAP_EMAIL_FIELD=
2018-12-03 16:05:24 +02:00
REM # LDAP_SYNC_USER_DATA :
REM # example : LDAP_SYNC_USER_DATA=true
2018-11-04 18:47:18 +02:00
REM SET LDAP_SYNC_USER_DATA=false
2018-12-03 16:05:24 +02:00
REM # LDAP_SYNC_USER_DATA_FIELDMAP :
REM # example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"}
2018-11-04 18:47:18 +02:00
REM SET LDAP_SYNC_USER_DATA_FIELDMAP=
2018-12-03 16:05:24 +02:00
2021-07-24 19:20:47 +03:00
REM # The default domain of the ldap it is used to create email if the field is not map correctly
REM # with the LDAP_SYNC_USER_DATA_FIELDMAP is defined in setting LDAP_DEFAULT_DOMAIN above.
2018-12-03 16:05:24 +02:00
REM # LDAP_SYNC_GROUP_ROLES :
REM # example :
REM # SET LDAP_SYNC_GROUP_ROLES=
2019-03-06 02:47:27 +02:00
REM # Enable/Disable syncing of admin status based on ldap groups:
REM SET LDAP_SYNC_ADMIN_STATUS=true
REM # Comma separated list of admin group names to sync.
REM SET LDAP_SYNC_ADMIN_GROUPS=group1,group2
2020-04-14 09:07:49 +02:00
REM ------------------------------------------------
REM # Enable/Disable password login form.
REM SET PASSWORD_LOGIN_ENABLED=true
REM ------------------------------------------------
2019-03-08 18:40:43 +02:00
REM # Login to LDAP automatically with HTTP header.
REM # In below example for siteminder, at right side of = is header name.
2019-04-08 12:01:26 +03:00
REM SET HEADER_LOGIN_ID=HEADERUID
REM SET HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME
REM SET HEADER_LOGIN_LASTNAME=HEADERLASTNAME
REM SET HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS
2019-03-08 18:40:43 +02:00
2018-12-03 16:05:24 +02:00
REM ------------------------------------------------
REM # LOGOUT_WITH_TIMER : Enables or not the option logout with timer
REM # example : LOGOUT_WITH_TIMER=true
REM SET LOGOUT_WITH_TIMER=
REM # LOGOUT_IN : The number of days
REM # example : LOGOUT_IN=1
REM SET LOGOUT_IN=
REM # LOGOUT_ON_HOURS : The number of hours
REM # example : LOGOUT_ON_HOURS=9
REM SET LOGOUT_ON_HOURS=
REM # LOGOUT_ON_MINUTES : The number of minutes
REM # example : LOGOUT_ON_MINUTES=55
REM SET LOGOUT_ON_MINUTES=
2020-09-14 19:57:50 +03:00
REM SET CAS_ENABLED=true
REM SET CAS_BASE_URL=https://cas.example.com/cas
REM SET CAS_LOGIN_URL=https://cas.example.com/login
REM SET CAS_VALIDATE_URL=https://cas.example.com/cas/p3/serviceValidate
REM SET SAML_ENABLED=true
REM SET SAML_PROVIDER=
REM SET SAML_ENTRYPOINT=
REM SET SAML_ISSUER=
REM SET SAML_CERT=
REM SET SAML_IDPSLO_REDIRECTURL=
REM SET SAML_PRIVATE_KEYFILE=
REM SET SAML_PUBLIC_CERTFILE=
REM SET SAML_IDENTIFIER_FORMAT=
REM SET SAML_LOCAL_PROFILE_MATCH_ATTRIBUTE=
REM SET SAML_ATTRIBUTES=
2021-06-11 15:17:43 +03:00
REM # Wait spinner to use
REM SET WAIT_SPINNER=Bounce
2021-06-09 19:54:49 +02:00
2022-02-03 20:33:58 +02:00
REM # https://github.com/wekan/wekan/issues/3585#issuecomment-1021522132
REM # Add more Node heap:
SET NODE_OPTIONS = " --max_old_space_size=4096 "
REM # Add more stack. ulimit is not at Windows, stack-size is at Windows:
REM # bash -c "ulimit -s 65500; exec node --stack-size=65500 main.js"
node --stack-size=65500 main.js