aboutsummaryrefslogtreecommitdiff
path: root/openbills.toml
blob: 9a9bc70c8f4e58b22ae9d0ff47818745c0c3ab79 (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
port = 8765

[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_secret = "22ELiOfHn19s0z1WWgsOT9RupghRYrXm"
refresh_secret = "22ELiOfHn19s0z1WWgsOT9RupghRYrXm"