181 lines
3.1 KiB
Cheetah
181 lines
3.1 KiB
Cheetah
|
|
logOut: /home/logout.json
|
||
|
|
requestOut: /home/requests_log
|
||
|
|
requestStore: fs
|
||
|
|
trackingOut: /home/tracking_log
|
||
|
|
trackingStore: fs
|
||
|
|
debugLevel: 2
|
||
|
|
|
||
|
|
host: ""
|
||
|
|
port: 8080
|
||
|
|
protocol: http
|
||
|
|
keyPem: ""
|
||
|
|
certPem: ""
|
||
|
|
allowOrigins:
|
||
|
|
- "https://cv.jesusperez.pro"
|
||
|
|
- "http://localhost:3333"
|
||
|
|
- "http://localhost:5555"
|
||
|
|
- "http://localhost:8081"
|
||
|
|
|
||
|
|
useJWT: true
|
||
|
|
jwtRealm: cvgen
|
||
|
|
jwtKey: "${CV_JWT_KEY}"
|
||
|
|
jwtTimeout: 20
|
||
|
|
jwtMaxRefresh: 20
|
||
|
|
signingAlgorithm: RRS256
|
||
|
|
jwtKeyPem: /home/ssl/key.pem
|
||
|
|
jwtCertPem: /home/ssl/cert.pem
|
||
|
|
|
||
|
|
authSep: ";"
|
||
|
|
passwdEnc: "enc;"
|
||
|
|
invitationsPath: /home/invitations.yaml
|
||
|
|
|
||
|
|
useAuthz: true
|
||
|
|
authzModel: /home/rbac_model.conf
|
||
|
|
authzPolicy: /home/rbac_policy.csv
|
||
|
|
adminRole: admin
|
||
|
|
|
||
|
|
pubUser: none
|
||
|
|
usersPath: /home/users.yaml
|
||
|
|
usersModelsPath: /home/usersmodels.yaml
|
||
|
|
identityKey: id
|
||
|
|
usersStore: fs
|
||
|
|
|
||
|
|
rootAuthGroup: /
|
||
|
|
routes:
|
||
|
|
root:
|
||
|
|
path: /
|
||
|
|
param: ""
|
||
|
|
page:
|
||
|
|
path: "/page/:id"
|
||
|
|
param: id
|
||
|
|
data:
|
||
|
|
path: "/getdata/:target"
|
||
|
|
param: target
|
||
|
|
users:
|
||
|
|
path: "/users"
|
||
|
|
config:
|
||
|
|
path: /config
|
||
|
|
trackinglist:
|
||
|
|
path: /trackinglist
|
||
|
|
tracking:
|
||
|
|
path: /tracking/:target
|
||
|
|
param: target
|
||
|
|
post_tracking:
|
||
|
|
path: /trackit
|
||
|
|
post_tracking_auth:
|
||
|
|
path: /tracking
|
||
|
|
post_data:
|
||
|
|
path: /info
|
||
|
|
post_config:
|
||
|
|
path: /config
|
||
|
|
post_users:
|
||
|
|
path: /users
|
||
|
|
auth:
|
||
|
|
path: "/auth/:target"
|
||
|
|
param: target
|
||
|
|
invitation:
|
||
|
|
path: /invitation/:id
|
||
|
|
param: id
|
||
|
|
sendinvitation:
|
||
|
|
path: /sendinvitation
|
||
|
|
refreshauth:
|
||
|
|
path: /refreshauth
|
||
|
|
post_login:
|
||
|
|
path: /login
|
||
|
|
post_newuser:
|
||
|
|
path: /newuser
|
||
|
|
recoveryaccess:
|
||
|
|
path: "/recoveryaccess/:target"
|
||
|
|
param: target
|
||
|
|
post_recoveryaccess:
|
||
|
|
path: "/recoveryaccess"
|
||
|
|
|
||
|
|
templatesRoot: /home/templates
|
||
|
|
templatesExt: .tmpl
|
||
|
|
templatesIncludes: "@includes"
|
||
|
|
templatesLayouts: "@layouts"
|
||
|
|
templatesFiles:
|
||
|
|
index:
|
||
|
|
path: "@cvgen.tmpl"
|
||
|
|
route: /
|
||
|
|
cv:
|
||
|
|
path: "@cvgen.tmpl"
|
||
|
|
route: /cv
|
||
|
|
cvkey:
|
||
|
|
path: "@cvgen.tmpl"
|
||
|
|
route: "/cv/:k"
|
||
|
|
escv:
|
||
|
|
path: "@cvgen.tmpl"
|
||
|
|
route: /escv
|
||
|
|
escvkey:
|
||
|
|
path: "@cvgen.tmpl"
|
||
|
|
route: "/escv/:k"
|
||
|
|
genadmin:
|
||
|
|
path: "@genadmin.tmpl"
|
||
|
|
route: /genadmin
|
||
|
|
welcome:
|
||
|
|
path: "@welcome.tmpl"
|
||
|
|
route: /welcome
|
||
|
|
foo_bar:
|
||
|
|
path: "@foo/bar.tmpl"
|
||
|
|
route: /foobar
|
||
|
|
assetsPath: /home/assets
|
||
|
|
assetsURL: /assets
|
||
|
|
|
||
|
|
useDist: true
|
||
|
|
genDist: true
|
||
|
|
genExcludeList:
|
||
|
|
- cv
|
||
|
|
dataDistPath: /home/data/dist
|
||
|
|
dataPath: /home/data
|
||
|
|
dataModelsRoot: models.yaml
|
||
|
|
dataCorePath: core.yaml
|
||
|
|
dataDflt: cv
|
||
|
|
dataItems:
|
||
|
|
- showinfo
|
||
|
|
- models
|
||
|
|
- core
|
||
|
|
- profile
|
||
|
|
- projects
|
||
|
|
- work_experience
|
||
|
|
- education
|
||
|
|
- teaching
|
||
|
|
- talks
|
||
|
|
- others
|
||
|
|
dataStore: fs
|
||
|
|
|
||
|
|
langs:
|
||
|
|
- es
|
||
|
|
- en
|
||
|
|
mainLang: en
|
||
|
|
|
||
|
|
useRepo: false
|
||
|
|
useRepoOnReq: false
|
||
|
|
quietGit: true
|
||
|
|
backgGit: true
|
||
|
|
repoPath: /home/data
|
||
|
|
repoName: origin
|
||
|
|
repoCommit: "chore: update srvcvgen"
|
||
|
|
|
||
|
|
mailHost: garuda.librecloud.online
|
||
|
|
mailPort: 587
|
||
|
|
mailFrom: info@jesusperez.pro
|
||
|
|
mailUser: hermes@librecloud.online
|
||
|
|
mailPswd: "${CV_MAIL_PSWD}"
|
||
|
|
mailCertPath: /home/dkim.cert
|
||
|
|
mailCertDom: librecloud.online
|
||
|
|
tplsMailPath: /home/mail
|
||
|
|
tplsMail:
|
||
|
|
newuser:
|
||
|
|
path: newuser.tpl
|
||
|
|
type: text
|
||
|
|
recovery:
|
||
|
|
path: recovery.tpl
|
||
|
|
type: text
|
||
|
|
openBrowser: false
|
||
|
|
|
||
|
|
redisHost: localhost
|
||
|
|
redisPort: 6379
|
||
|
|
redisDB: cvgen
|
||
|
|
redisPswd: ""
|