swaf/config/default.ts

47 lines
1.0 KiB
TypeScript
Raw Permalink Normal View History

module.exports = {
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-04-23 12:12:08 +02:00
log_level: "DEV",
db_log_level: "ERROR",
base_url: "http://localhost:4899",
2020-04-23 12:12:08 +02:00
public_websocket_url: "ws://localhost:4899",
port: 4899,
gitlab_webhook_token: 'default',
2020-04-23 12:12:08 +02:00
mysql: {
connectionLimit: 10,
host: "localhost",
user: "root",
password: "",
database: "wms2",
create_database_automatically: false
},
redis: {
host: "127.0.0.1",
2020-04-25 09:32:59 +02:00
port: 6379,
prefix: 'wms'
2020-04-23 12:12:08 +02:00
},
session: {
secret: 'default',
2020-04-23 12:12:08 +02:00
cookie: {
secure: false,
maxAge: 30 * 24 * 3600 * 1000, // 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
},
approval_mode: false,
}