2020-10-01 16:16:36 +02:00
|
|
|
{
|
2020-06-27 17:11:31 +02:00
|
|
|
app: {
|
|
|
|
name: 'Example App',
|
2020-06-27 18:06:39 +02:00
|
|
|
contact_email: 'contact@example.net'
|
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",
|
2020-04-23 12:12:08 +02:00
|
|
|
create_database_automatically: false
|
|
|
|
},
|
|
|
|
redis: {
|
|
|
|
host: "127.0.0.1",
|
2020-04-25 09:32:59 +02:00
|
|
|
port: 6379,
|
2020-11-12 16:11:16 +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,
|
2020-10-01 16:16:36 +02:00
|
|
|
maxAge: 2592000000, // 30 days
|
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
|
|
|
},
|
2020-11-14 17:24:42 +01:00
|
|
|
magic_link: {
|
|
|
|
validity_period: 20,
|
|
|
|
},
|
2020-06-16 11:12:58 +02:00
|
|
|
approval_mode: false,
|
2020-09-03 12:43:01 +02:00
|
|
|
}
|