mirror of
https://github.com/optim-enterprises-bv/databunker.git
synced 2025-10-28 16:42:30 +00:00
81 lines
3.2 KiB
YAML
81 lines
3.2 KiB
YAML
# Server configurations
|
|
generic:
|
|
# allow to create user object without login
|
|
create_user_without_access_token: true
|
|
# use separate app tables, default false
|
|
# use_separate_app_tables: true
|
|
# specify if API call to list users is available (default false)
|
|
# list_users: true
|
|
# disable audit, default false
|
|
# disable_audit: true
|
|
selfservice:
|
|
# specifies if user can remove himself withour Admin/DPO approval (default false)
|
|
#forget_me: false
|
|
# specifies if user can change his data without Admin/DPO approval (default false)
|
|
#user_record_change: true
|
|
# specifies a list of app-data objects user can change without approval
|
|
app_record_change: ["*"]
|
|
notification:
|
|
# url that receives notifications:
|
|
# - bad login
|
|
# - forget me
|
|
# - user profile change
|
|
# - consent change
|
|
# user details are send as json data.
|
|
#notification_url: "https://httpbin.org/post"
|
|
policy:
|
|
# max time to store records, untill they are deleted
|
|
max_user_retention_period: "3m"
|
|
max_audit_retention_period: "6m"
|
|
max_session_retention_period: "1h"
|
|
max_shareable_record_retention_period: "1m"
|
|
ssl:
|
|
# ssl configuration
|
|
ssl_certificate: "/databunker/certs/server.cer"
|
|
ssl_certificate_key: "/databunker/certs/server.key"
|
|
sms:
|
|
# REQUIRED: Specify SMS gateway URL.
|
|
# Available modifiers for url parameters: {token}, {from}, {phone}, {msg}
|
|
# url: "https://sms-gateway.com/send?token=_TOKEN_&from=_FROM_&phone=_PHONE_&msg=_MSG_"
|
|
# OPTIONAL: Specify From address
|
|
# from: ""
|
|
# OPTIONAL: Specify SMS gateway access token
|
|
# token: ""
|
|
# OPTIONAL: Specify SMS gateway Basic Auth header, format: username:password
|
|
# basic_auth: "user:pssword"
|
|
# OPTIONAL: Specify SMS gateway HTTP request method: GET or POST. Default is GET
|
|
# method: "GET"
|
|
# OPTIONAL: Specify SMS gateway HTTP request custom header. Can be used for authorization.
|
|
# custom_header: "x-token: value"
|
|
# OTIONAL: Specify SMS gateway HTTP request Content Type. It can be application/json.
|
|
# By default application/x-www-form-urlencoded
|
|
# content_type: "json"
|
|
# REQUIRED FOR POST REQUEST: POST body. Available modifiers: _TOKEN_, _FROM_, _PHONE_, _MSG_
|
|
# Example for application/json POST request:
|
|
# body: '{"from":"_FROM_","phone":"_PHONE_","message":"_MSG_"}'
|
|
# Example for application/x-www-form-urlencoded POST request
|
|
# body: 'from=_FROM_&phone=_PHONE_&message=_MSG_'
|
|
# default country when sending out SMS
|
|
# Use country code when normalizing phone numbers. Use country code as defined here:
|
|
# https://github.com/ttacon/libphonenumber/blob/master/countrycodetoregionmap.go
|
|
default_country: "GB"
|
|
server:
|
|
host: "0.0.0.0"
|
|
port: 3000
|
|
smtp:
|
|
# You need to get SMTP server to send out email notification for example to allow user login.
|
|
server: "email-smtp-server.com"
|
|
port: 587
|
|
user: "user@your-company.com"
|
|
pass: ""
|
|
sender: "bot@databunker.your-company.com"
|
|
ui:
|
|
logo_link: "/site/img/logo-example.png"
|
|
company_title: "Your company here"
|
|
company_link: "https://databunker.org/"
|
|
term_of_service_title: "Your Terms of service link"
|
|
term_of_service_link: "https://databunker.org/"
|
|
privacy_policy_title: "Your Privacy Policy link"
|
|
privacy_policy_link: "https://databunker.org/"
|
|
custom_css_link: ""
|