fasten-onprem/config.yaml

31 lines
1.1 KiB
YAML
Raw Normal View History

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
database:
type: 'sqlite' # postgres also supported, but still experimental changes
location: '/opt/fasten/db/fasten.db' # if postgres, then host=localhost user=gorm password=gorm dbname=gorm port=9920 sslmode=required TimeZone=Asia/Shanghai
2022-08-22 18:51:46 -06:00
log:
file: '' # absolute or relative paths allowed, eg. web.log
2022-12-17 16:10:19 -07:00
level: INFO
jwt:
issuer:
key: "thisismysupersecuressessionsecretlength"