ily.li/config/default.json5

55 lines
1.2 KiB
Plaintext
Raw Normal View History

2020-11-02 18:17:55 +01:00
{
2020-06-27 17:20:06 +02:00
app: {
2020-11-22 14:06:56 +01:00
name: 'ily.li',
contact_email: 'contact@ily.li',
2020-06-27 17:20:06 +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: "",
2020-11-22 14:06:56 +01:00
database: "ilyli",
create_database_automatically: false,
2020-06-27 17:20:06 +02:00
},
redis: {
host: "127.0.0.1",
port: 6379,
2020-11-22 14:06:56 +01:00
prefix: 'ilyli',
2020-06-27 17:20:06 +02:00
},
session: {
cookie: {
2020-11-22 14:06:56 +01:00
secure: false,
},
2020-06-27 17:20:06 +02:00
},
mail: {
host: "127.0.0.1",
port: "1025",
secure: false,
username: "",
password: "",
2020-06-27 18:07:58 +02:00
allow_invalid_tls: true,
2020-11-22 14:06:56 +01:00
from: 'contact@ily.li',
from_name: 'ily.li',
2020-06-27 17:20:06 +02:00
},
view: {
2020-11-22 14:06:56 +01:00
cache: false,
2020-06-27 17:20:06 +02:00
},
2020-11-22 14:06:56 +01:00
newlyGeneratedSlugSize: 3,
default_file_ttl: 30, // 30 seconds
max_upload_size: 16, // MB
max_hotlink_size: 1, // MB
2020-06-27 17:20:06 +02:00
approval_mode: false,
2020-11-22 14:06:56 +01:00
domain: 'localhost',
allowed_url_domains: [
'localhost:4893',
'127.0.0.1:4893',
],
default_url_domain_for_files: 0,
default_url_domain_for_urls: 1,
}