swaf/config/default.json5

63 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

{
2021-06-01 14:38:53 +02:00
asset_cache: false,
gitlab_webhook_token: 'default',
2021-04-27 15:01:07 +02:00
app: {
2021-06-01 14:38:53 +02:00
listen_addr: '127.0.0.1',
port: 4899,
public_url: "http://127.0.0.1:4899",
public_websocket_url: "ws://127.0.0.1:4899",
2021-04-27 15:01:07 +02:00
name: 'Example App',
contact_email: 'contact@example.net',
display_email_warning: true,
},
2021-06-01 14:38:53 +02:00
auth: {
// Registered accounts need to be approved by an administrator
approval_mode: false,
// 30 days
name_change_wait_period: 2592000000,
},
2021-04-27 15:01:07 +02:00
log: {
level: "DEBUG",
verbose: true,
db_level: "ERROR",
},
2021-06-01 14:38:53 +02:00
magic_link: {
validity_period: 20,
},
mail: {
host: "127.0.0.1",
port: "1025",
secure: false,
username: "",
password: "",
allow_invalid_tls: true,
from: 'contact@example.net',
from_name: 'Example App',
},
2021-04-27 15:01:07 +02:00
mysql: {
connectionLimit: 10,
host: "127.0.0.1",
user: "swaf",
password: "swaf",
2021-04-27 15:01:07 +02:00
database: "swaf",
create_database_automatically: true,
2021-04-27 15:01:07 +02:00
},
redis: {
host: "127.0.0.1",
port: 6379,
prefix: 'swaf',
},
session: {
secret: 'default',
cookie: {
secure: false,
// 1 year
maxAge: 31557600000,
},
},
view: {
cache: false,
dev: true,
},
}