2022-08-22 18:51:46 -06:00
######################################################################
# Version
#
# version specifies the version of this configuration file schema, not
2022-08-22 19:11:00 -06:00
# the fasten binary. There is only 1 version available at the moment
2022-08-22 18:51:46 -06:00
version : 1
web :
listen :
2022-09-26 23:14:29 -06:00
port : 8080
2022-08-22 18:51:46 -06:00
host : 0.0 .0 .0
2022-08-22 19:11:00 -06:00
# if you're using a reverse proxy like apache/nginx, you can override this value to serve fasten on a subpath.
# eg. http://example.com/fasten/* vs http://example.com:8080
# basepath: `/fasten`
2022-08-22 18:51:46 -06:00
# leave empty unless behind a path prefixed proxy
basepath : ''
src :
# the location on the filesystem where webapp javascript + css is located
frontend :
2022-09-26 23:14:29 -06:00
path : /opt/fasten/web
2022-12-18 18:25:25 -07:00
database :
2023-11-07 21:47:52 -07:00
# encryption:
# key: ''
2023-12-13 16:30:43 -07:00
type : 'sqlite' # postgres will be supported in the future, but is completely **BROKEN** at the moment.
location : '/opt/fasten/db/fasten.db' # if postgres (**BROKEN**) use a DSN, eg. `host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=required TimeZone=Asia/Shanghai`
2022-08-22 18:51:46 -06:00
log :
2023-09-21 01:29:58 -06:00
file : '' # absolute or relative paths allowed, eg. web.log
2022-12-17 16:10:19 -07:00
level : INFO
2023-01-26 04:10:36 -07:00
jwt :
issuer :
key : "thisismysupersecuressessionsecretlength"