2020-11-02 18:17:55 +01:00
|
|
|
{
|
2021-03-30 16:56:35 +02:00
|
|
|
app: {
|
2021-03-30 17:01:59 +02:00
|
|
|
name: 'ily.li',
|
|
|
|
contact_email: 'contact@ily.li',
|
2021-03-30 16:56:35 +02:00
|
|
|
},
|
|
|
|
log_level: "DEV",
|
|
|
|
db_log_level: "ERROR",
|
|
|
|
public_url: "http://localhost:4899",
|
|
|
|
public_websocket_url: "ws://localhost:4899",
|
|
|
|
port: 4899,
|
|
|
|
mysql: {
|
|
|
|
connectionLimit: 10,
|
|
|
|
host: "localhost",
|
|
|
|
user: "root",
|
|
|
|
password: "",
|
2021-03-30 17:01:59 +02:00
|
|
|
database: "ilyli",
|
2021-03-30 16:56:35 +02:00
|
|
|
create_database_automatically: false,
|
|
|
|
},
|
|
|
|
redis: {
|
|
|
|
host: "127.0.0.1",
|
|
|
|
port: 6379,
|
2021-03-30 17:01:59 +02:00
|
|
|
prefix: 'ilyli',
|
2021-03-30 16:56:35 +02:00
|
|
|
},
|
|
|
|
session: {
|
|
|
|
cookie: {
|
|
|
|
secure: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
mail: {
|
|
|
|
host: "127.0.0.1",
|
|
|
|
port: "1025",
|
|
|
|
secure: false,
|
|
|
|
username: "",
|
|
|
|
password: "",
|
|
|
|
allow_invalid_tls: true,
|
2021-03-30 17:01:59 +02:00
|
|
|
from: 'contact@ily.li',
|
|
|
|
from_name: 'ily.li',
|
2021-03-30 16:56:35 +02:00
|
|
|
},
|
|
|
|
view: {
|
|
|
|
cache: false,
|
|
|
|
},
|
2021-03-30 17:01:59 +02:00
|
|
|
magic_link: {
|
|
|
|
validity_period: 20,
|
|
|
|
},
|
2021-03-30 16:56:35 +02:00
|
|
|
auth: {
|
|
|
|
approval_mode: false,
|
|
|
|
// 30 days
|
|
|
|
name_change_wait_period: 2592000000,
|
|
|
|
},
|
2021-03-30 17:01:59 +02:00
|
|
|
newlyGeneratedSlugSize: 3,
|
|
|
|
// 30 seconds
|
|
|
|
default_file_ttl: 30,
|
|
|
|
// MB
|
|
|
|
max_upload_size: 16,
|
|
|
|
// MB
|
|
|
|
max_hotlink_size: 1,
|
|
|
|
domain: 'localhost',
|
|
|
|
allowed_url_domains: [
|
|
|
|
'localhost:4899',
|
|
|
|
'127.0.0.1:4899',
|
|
|
|
],
|
|
|
|
default_url_domain_for_files: 0,
|
|
|
|
default_url_domain_for_urls: 1,
|
|
|
|
// 1 hour in ms
|
|
|
|
delete_old_files_interval: 3600000,
|
2020-09-03 08:28:57 +02:00
|
|
|
}
|