nci/data/config.yaml

51 lines
1.1 KiB
YAML

plugins:
- nci-projects-reloader
- nci-static-server
- nci-rest-api-server
# - nci-mail-notification
# - nci-jabber-notification
# - nci-scheduler
#ui better be last plugin
# - nci-classic-ui
nodes:
- type: local
maxExecutorsCount: 2
http:
host: 127.0.0.1
port: 3000
url: http://127.0.0.1:3000
# ws: http://127.0.0.1:3001
static:
locations:
- url: /favicon.ico
root: node_modules/nci-classic-ui/static/
- url: !!js/regexp ^/(js|css|fonts|images)/
root: node_modules/nci-classic-ui/static/
- url: !!js/regexp ^/projects/(\w|-)+/workspace/
root: data/
# paths:
# db: /var/tmp/123
# projects: /var/tmp/123
storage:
backend: memdown
# backend: leveldown
notify:
mail:
host: smtp.gmail.com
port: 587
auth:
user: bot.nci@gmail.com
pass: pass
jabber:
host: talk.google.com
port: 5222
reconnect: true
jid: bot.nci@gmail.com
password: password