# ASF Selfserve Portal configuration file for use with docker

server:
  bind: 127.0.0.1
  port: 8000
  error_reporting: show   #show: include error traceback in json response, else: output an incident ID only, show incident in stderr
  max_form_size: 5mb # largest form data payload.
  debug_mode: false  # If set to true, adds a test account for trying out features.
  debug_password: ~ # Sets the debug superuser password, if debug_mode is true.
                    # Can be one of:
                    # ~: (nil) Auto-generate a new random password for this superuser on startup
                    # "string": Use this string as the superuser debug password
  rate_limit_per_ip: 100  # Max 100 lookup requests per day, or we bork!
ldap:
  uri: ldaps://ldap-eu.apache.org:636
  userbase: uid=%s,ou=people,dc=apache,dc=org
  groupbase: cn=%s,ou=project,ou=groups,dc=apache,dc=org
  servicebase: cn=%s,ou=groups,ou=services,dc=apache,dc=org
  ldapbase: dc=apache,dc=org
  roleaccounts: /opt/selfserve-portal/roleaccounts.txt

storage:
  queue_dir:  "/x1/selfserve-queue/"  # Where to store queued requests for external services
  db_dir:     "/x1/database/"  # Where to store databases (sqlite)

messaging:
  sender: "ASF Self-serve Portal <no-reply@apache.org>"
  template_dir: "/opt/selfserve-portal/server/email_templates"
  mail_relay: localhost

webmod_list_url: http://localhost/lists

cwikimysql:
  host: localhost
  user: mysql
  password: mysql
  dbname: cwiki

jirapsql:
  host: localhost
  user: psql
  password: psql
  dbname: jira
