Jobboerse/packages/jobboerse/config/dist-test-config.toml
2026-03-13 23:13:50 +01:00

50 lines
2.6 KiB
TOML

# the base URL Path under which the jobboerse will be accessible (defaults to the root path)
# url_base_path = "jobbörse"
# the path under which the server will store the job offers (default "./job_offers")
data_storage_path = "/var/lib/jobboerse/job_offers"
# when specefied a banner will be placed at the top of the web-page with the content of this field
# banner = ""
# Configuration of the login provider which shall handle the processing of login information submitter through the login dialouge
[login_provider]
# the type of the configured login provider
# for production builds possible options are: Disabled, Simple or Ldap
type = 'Simple' # deny all login attempts without further configuration options
file_path = '/etc/jobboerse/login.toml'
# type = 'Simple' # lookup username password pairs in a file
# file_path = 'config/login.toml' # toml file containing a `users` table with usernames as the keys and clear-text passwords as values
# type = 'Ldap' # use an ldap server for authentication
# server_address = 'ldap://ldap.example.com' # ldap server URL
# ldap_user_dn = 'uid=%{username},ou=People,dc=example,dc=com' # user DN template , %{username} will be replaced by the provided username
# ldap_user_filter = '(&(objectClass=posixAccount)(uid=%{username}))' # search filter template, %{username} will be replaced by the provided username
# starttls = true # use starttls when applicable for the server_address URL (defaults to true)
# for development builds the value `Development` is also available
# type = 'Development' # accepts all username password combinations without further configuration options USE WITH CARE!!!
# The configuration for sending cofirmation emails
# when not specefied no confirmation emails will be send and submitters won't be able to confirm their submissions
# [email]
# # content of the FROM header for send emails
# from = "jobs@example.com"
# # content of the SUBJECT header for the confirmation emails
# subject = "[Jobbörse] Please, confirm your job-offer submission."
# you can add additional footer links by adding [[header_links]] entries
# [[header_links]]
# title = "Example"
# url = "https://example.com"
# the default footer links Impressum, Homepage and Source Repository can be overriten by adding a matching [[header_links]] entry
# [[header_links]]
# title = "Homepage"
# url = "https://example.com/home"
# default footer links can also be removed by adding a matching section here without an URL
# [[header_links]]
# title = "Source Repository"