2020-10-01 16:16:36 +02:00
|
|
|
{
|
2020-06-27 17:11:31 +02:00
|
|
|
app: {
|
|
|
|
name: 'Example App',
|
2021-01-21 15:58:03 +01:00
|
|
|
contact_email: 'contact@example.net',
|
|
|
|
display_email_warning: true,
|
2020-06-27 17:11:31 +02:00
|
|
|
},
|
2020-09-25 22:19:13 +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",
|
2020-09-17 21:15:37 +02:00
|
|
|
listen_addr: '127.0.0.1',
|
2020-04-23 12:12:08 +02:00
|
|
|
port: 4899,
|
2020-07-15 15:06:13 +02:00
|
|
|
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",
|
2021-01-24 16:31:11 +01:00
|
|
|
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,
|
2021-01-24 16:31:11 +01:00
|
|
|
prefix: 'swaf',
|
2020-04-23 12:12:08 +02:00
|
|
|
},
|
|
|
|
session: {
|
2020-07-15 15:06:13 +02:00
|
|
|
secret: 'default',
|
2020-04-23 12:12:08 +02:00
|
|
|
cookie: {
|
2020-07-14 15:06:46 +02:00
|
|
|
secure: false,
|
2021-01-24 16:29:23 +01:00
|
|
|
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: {
|
2021-01-24 16:31:11 +01:00
|
|
|
cache: false,
|
2020-06-16 11:12:58 +02:00
|
|
|
},
|
2020-11-14 17:24:42 +01:00
|
|
|
magic_link: {
|
|
|
|
validity_period: 20,
|
|
|
|
},
|
2021-02-23 17:42:25 +01:00
|
|
|
auth: {
|
|
|
|
approval_mode: false, // Registered accounts need to be approved by an administrator
|
|
|
|
name_change_wait_period: 2592000000, // 30 days
|
|
|
|
},
|
2020-09-03 12:43:01 +02:00
|
|
|
}
|