Skip to content

Commit

Permalink
Add database.type to config file
Browse files Browse the repository at this point in the history
We add a database type, which is defaulted to sqlite
  • Loading branch information
nickmurray47 committed Oct 10, 2023
1 parent e5f920c commit 816d823
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ web:
frontend:
path: /opt/fasten/web
database:
location: '/opt/fasten/db/fasten.db'
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
log:
file: '' #absolute or relative paths allowed, eg. web.log
file: '' # absolute or relative paths allowed, eg. web.log
level: INFO
jwt:
issuer:
Expand Down

0 comments on commit 816d823

Please # to comment.