swaf/config/default.json5

54 lines
1.1 KiB
Plaintext
Raw Normal View History

{
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
},
log: {
level: "DEBUG",
verbose: true,
db_level: "ERROR",
},
base_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",
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: {
secret: 'default',
2020-04-23 12:12:08 +02:00
cookie: {
secure: false,
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
},
magic_link: {
validity_period: 20,
},
2020-06-16 11:12:58 +02:00
approval_mode: false,
}