sync for backup
This commit is contained in:
parent
1fbdf7fc9d
commit
a9916acea5
92 changed files with 35330 additions and 882 deletions
76
example_config.toml
Normal file
76
example_config.toml
Normal file
|
@ -0,0 +1,76 @@
|
|||
# General information for the server, primarely domain and port
|
||||
[general]
|
||||
# The domain the server operates under
|
||||
domain = "localhost"
|
||||
|
||||
# The full domain to connect to the server, excluding port
|
||||
full_domain = "http://localhost"
|
||||
|
||||
# The port the server is accessed from by the public, usually 80 or 443
|
||||
public_port = 8080
|
||||
|
||||
# The port the server actually operates under
|
||||
# This is where for example nginx or Traeffik should connect to
|
||||
private_port = 8080
|
||||
|
||||
# How the server should handle SSL (for https)
|
||||
[ssl]
|
||||
# Whether the server should handle SSL itself
|
||||
# Recommended to be false if behind a reverse proxy like nginx or Traeffik
|
||||
handle_ssl = false
|
||||
|
||||
# Required if handle_ssl is true
|
||||
# Whether the server should use Lets Encrypt for getting the certificate
|
||||
# use_lets_encrypt = true
|
||||
|
||||
# Required if use_lets_encrypt is false
|
||||
# The certificate file to use for SSL
|
||||
# certificate_file = some-certificate.pim
|
||||
|
||||
# Required if use_lets_encrypt is true
|
||||
# The admin mail for Lets Encrypt to send certificate infos to
|
||||
# admin_mail = "admin@example.com"
|
||||
|
||||
# Login details for the root admin account
|
||||
[admin]
|
||||
username = "admin"
|
||||
# Empty password hash means no password set
|
||||
# TODO: Include used hashing algorithm
|
||||
password_hash = ""
|
||||
|
||||
# Where to find the db and what type it is
|
||||
[storage]
|
||||
# If the uri points to a postgres db or not (sqlite otherwise)
|
||||
is_postgres = false
|
||||
# The uri for the db. A filepath for sqlite, postgres url otherwise
|
||||
uri = "db.sqlite"
|
||||
|
||||
# Details for the mail server to use for sending stuff
|
||||
# TODO: Extend if server uses multiple accoutns later
|
||||
[mail]
|
||||
host = "smtp.example.com"
|
||||
port = 587
|
||||
username = "noreply@example.com"
|
||||
password = "example"
|
||||
|
||||
# Overwrite the used encryption method
|
||||
# Defaults to StartTLS
|
||||
# TODO: Include all options here
|
||||
# encryption_overwrite = "StartTLS"
|
||||
|
||||
# Overwrite whether the server should keep the connection alive constantly
|
||||
# Default is false
|
||||
# keep_alive_overwrite = false
|
||||
|
||||
# Overwrite the amount of seconds before the connection times out
|
||||
# Default is 10
|
||||
# connection_timeout_seconds_overwrite = 10
|
||||
|
||||
# Overwrite the amount of seconds before a mail send times out
|
||||
# Default is 10
|
||||
# send_timeout_seconds_overwrite = 10
|
||||
|
||||
# Overwrite the templates used for creating mails
|
||||
# Defaults to built-in one if no matching name for an action is found
|
||||
# TODO: Include all names for the various actions
|
||||
# template_directory_overwrite = "templates"
|
Loading…
Add table
Add a link
Reference in a new issue