Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

1.6 KB
Raw Blame
[Database]
Driver = "mysql"
Host = "localhost"
Name = "alexandrie"
Port = 3306

[Cdn]
MaxSize = 2e+7 				# 20MB
MaxUploadsSize = 1073741824 # 1GB
SupportedTypesImages = [
	"image/png",
	"image/jpeg",
	"image/gif",
	"image/bmp",
	"image/webp",
	"image/avif",
	"image/svg+xml",
	"image/vnd.microsoft.icon",
]
SupportedTypes = [
	# image formats
	"image/png",
	"image/jpeg",
	"image/gif",
	"image/bmp",
	"image/webp",
	"image/avif",
	"image/svg+xml",
	"image/vnd.microsoft.icon",
	# video formats
	"video/mp4",
	"video/x-msvideo",  # .avi
	"video/quicktime",  # .mov
	"video/x-ms-wmv",   # .wmv
	"video/x-flv",      # .flv
	"video/x-matroska", # .mkv
	"video/webm",       # .webm
	# audio formats
	"audio/mpeg",       # .mp3
	"audio/wav",        # .wav
	"audio/ogg",        # .ogg
	"audio/flac",       # .flac
	"audio/aac",        # .aac
	"audio/webm",       # .webm
	# document formats
	"application/pdf",    # .pdf
	"application/msword", # .doc
	"application/vnd.openxmlformats-officedocument.wordprocessingml.document", # .docx
	"application/vnd.ms-excel", # .xls
	"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",         # .xlsx
	"application/vnd.ms-powerpoint",                                             # .ppt
	"application/vnd.openxmlformats-officedocument.presentationml.presentation", # .pptx
	"text/plain", # .txt
	"text/csv",   # .csv
	# archive formats
	"application/zip",              # .zip
	"application/x-rar-compressed", # .rar
	"application/x-tar",            # .tar
	"application/gzip",             # .gz
	"application/x-bzip2",          # .bz2
]

[Auth]
AccessTokenExpiry = 1800 		# 30 minutes
RefreshTokenExpiry = 604800 # 7 days