summarylogtreecommitdiffstats
path: root/config.json
blob: 6b377e71d8432bdc3ded2f9b0f88c4154451b34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "force": false,
  "address": "0.0.0.0",
  "port": 5244,
  "jwt_secret": "random generated",
  "cdn": "",
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "/var/lib/alist/data.db",
    "ssl_mode": "disable",
    "table_prefix": "x_"
  },
  "scheme": {
    "https": false,
    "cert_file": "",
    "key_file": ""
  },
  "temp_dir": "/var/cache/alist/temp",
  "log": {
    "enable": false,
    "name": "/var/log/alist/log.log",
    "max_size": 10,
    "max_backups": 5,
    "max_age": 28,
    "compress": false
  }
}