fixing config file -- correct database mount location.

This commit is contained in:
Jason Kulatunga 2023-01-26 03:10:36 -08:00
parent a89f640bc0
commit 22f23e20f1
2 changed files with 5 additions and 2 deletions

View File

@ -28,7 +28,7 @@ func (c *configuration) Init() error {
c.SetDefault("web.src.frontend.path", "/opt/fasten/web") c.SetDefault("web.src.frontend.path", "/opt/fasten/web")
c.SetDefault("database.location", "/opt/fasten/db/fasten.db") //TODO: should be /opt/fasten/fasten.db c.SetDefault("database.location", "/opt/fasten/db/fasten.db")
c.SetDefault("jwt.issuer.key", "thisismysupersecuressessionsecretlength") c.SetDefault("jwt.issuer.key", "thisismysupersecuressessionsecretlength")

View File

@ -20,7 +20,10 @@ web:
frontend: frontend:
path: /opt/fasten/web path: /opt/fasten/web
database: database:
location: 'fasten.db' location: '/opt/fasten/db/fasten.db'
log: log:
file: '' #absolute or relative paths allowed, eg. web.log file: '' #absolute or relative paths allowed, eg. web.log
level: INFO level: INFO
jwt:
issuer:
key: "thisismysupersecuressessionsecretlength"