Skip to content

Instantly share code, notes, and snippets.

@andorp
Last active August 6, 2016 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andorp/dc502f653c2b2a55d59e230175b24120 to your computer and use it in GitHub Desktop.
Save andorp/dc502f653c2b2a55d59e230175b24120 to your computer and use it in GitHub Desktop.
bead.config
# N.B.: This is a sample configuration file. It will NOT work as it is, a
# login-config must be chosen and the settings must be edited accordingly.
user-actions-log: "log/useractions.log"
session-timeout: 1200 # sec
# This is applicable only if standalone configuration is used.
#hostname-for-emails: "http://127.0.0.1:8000"
#from-email-address: "noreply@bead.org"
default-login-language: "en"
default-timezone: "UTC"
timezone-info-directory: "/usr/share/zoneinfo"
max-upload-size: 128 # KiB
developer: yes
# Please choose either "standalone" or "single sign-on"
# standalone
#login-config:
# username-regexp: "^[A-Za-z0-9]{6}$"
# username-regexp-example: "QUER42"
# single sign-on
#login-config:
# timeout: 5 # ldap query timeout (seconds)
# threads: 4 # ldap queries
## mapping of queried ldap attributes:
# uid-key: 'uid'
# name-key: 'name'
# email-key: 'email'
# When bead is compiled with MySQL support
mysql-config:
database: 'bead'
hostname: 'localhost'
port: 3306
username: 'root'
password: 'password'
pool-size: 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment