64 lines
1.5 KiB
TOML
64 lines
1.5 KiB
TOML
[general]
|
|
protocol = "http"
|
|
domain = "localhost"
|
|
private_port = 8080
|
|
|
|
[ssl]
|
|
handle_ssl = false
|
|
|
|
[admin]
|
|
username = "server-admin"
|
|
first_time_setup_otp = "Example otp password"
|
|
profiling_password = ""
|
|
allow_registration = true
|
|
auth_fetch_for_get = false
|
|
auth_fetch_for_non_get = true
|
|
|
|
[webauthn]
|
|
display_name = "Linstrom"
|
|
|
|
[storage]
|
|
host = "localhost"
|
|
username = "linstrom"
|
|
password = "linstrom"
|
|
db_name = "linstrom"
|
|
port = 5432
|
|
ssl_mode = "disable"
|
|
time_zone = "Europe/Berlin"
|
|
max_in_memory_cache_size = 1000000
|
|
max_in_memory_cache_ttl = 5
|
|
max_reconnect_attempts = 3
|
|
|
|
[mail]
|
|
host = "localhost"
|
|
port = 587
|
|
username = "linstrom"
|
|
password = "linstrom"
|
|
|
|
[self]
|
|
server_actor_display_name = "Server actor"
|
|
server_display_name = "Linstrom"
|
|
server_description = "A social media server running Linstrom"
|
|
|
|
# Get data via commands in docker container (binary path is /garage)
|
|
# commands can be seen here: https://garagehq.deuxfleurs.fr/documentation/quick-start/
|
|
[s3]
|
|
key_id = "GK400d4be33cd08213625cf349"
|
|
secret = "10be5b60c9de5b15f05cc6a391f5a676fe7dea86e1133e715b98d45bb4c1fc3b"
|
|
region = "garage"
|
|
endpoint = "localhost:3900"
|
|
use_ssl = false
|
|
bucket_name = "linstrom-bucket"
|
|
|
|
[transcoder]
|
|
shared_directory = "/tmp/linstrom-transcoder"
|
|
secret = "The same secret as configured in the transcoder"
|
|
server_address = "127.0.0.1"
|
|
server_port = 5594
|
|
ignore_transcoder = false
|
|
|
|
[experimental]
|
|
use_ed25519_keys = false
|
|
auth_fetch_for_server_actor = false
|
|
id_generator = "xid"
|
|
http3_support = false
|