aboutsummaryrefslogtreecommitdiff
path: root/openbills.toml
blob: f10f666e099880f70eb92eb949a8c6d89667b179 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
port = 8765
debug_mode = true

[database]
username = "openbills"
password = "VeryStrongPass123"
location = "tcp(127.0.0.1:3306)"
db_name  = "openbills"
params   = "charset=utf8mb4&parseTime=True&loc=Local"

[instance]
title = "OpenBills"
description = "Libre Billing Software"
url = "https://openbills.vidhukant.com/"

[security]
min_password_length = 12
max_password_length = 72

[username]
allowed_characters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789.-_"
min_username_length = 2
max_username_length = 32

[cryptography]
password_hashing_cost = 14
auth_key = "22ELiOfHn19s0z1WWgsOT9RupghRYrXm"
refresh_key = "22ELjsdlfkjalsdfjalsdjflajsdfljaiOfHn19s0z1WWgsOT9RupghRYrXm"