swaf/config/default.json5

55 lines
1.2 KiB
Plaintext
Raw Normal View History

{
2020-06-27 17:11:31 +02:00
app: {
name: 'Example App',
contact_email: 'contact@example.net',
display_email_warning: true,
2020-06-27 17:11:31 +02:00
},
log: {
level: "DEBUG",
verbose: true,
db_level: "ERROR",
},
2021-01-21 17:12:59 +01:00
public_url: "http://localhost:4899",
2020-04-23 12:12:08 +02:00
public_websocket_url: "ws://localhost:4899",
listen_addr: '127.0.0.1',
2020-04-23 12:12:08 +02:00
port: 4899,
gitlab_webhook_token: 'default',
2020-04-23 12:12:08 +02:00
mysql: {
connectionLimit: 10,
host: "localhost",
user: "root",
password: "",
2020-11-12 16:11:16 +01:00
database: "swaf",
create_database_automatically: false,
2020-04-23 12:12:08 +02:00
},
redis: {
host: "127.0.0.1",
2020-04-25 09:32:59 +02:00
port: 6379,
prefix: 'swaf',
2020-04-23 12:12:08 +02:00
},
session: {
secret: 'default',
2020-04-23 12:12:08 +02:00
cookie: {
secure: false,
maxAge: 31557600000, // 1 year
},
2020-04-23 12:12:08 +02:00
},
mail: {
host: "127.0.0.1",
port: "1025",
secure: false,
username: "",
password: "",
2020-06-27 18:06:39 +02:00
allow_invalid_tls: true,
from: 'contact@example.net',
from_name: 'Example App',
2020-04-23 12:12:08 +02:00
},
view: {
cache: false,
2020-06-16 11:12:58 +02:00
},
magic_link: {
validity_period: 20,
},
2020-06-16 11:12:58 +02:00
approval_mode: false,
}