fixing config file -- correct database mount location.
This commit is contained in:
parent
a89f640bc0
commit
22f23e20f1
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue