-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathconfig.ls.template
More file actions
120 lines (102 loc) · 3.04 KB
/
config.ls.template
File metadata and controls
120 lines (102 loc) · 3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{rextend} = require \prelude-extension
mongo-connection-opitons =
auto_reconnect: true
db:
w:1
server:
socket-options:
keep-alive: 1
module.exports =
# connections :: Map QueryType, (Map Server, ConnectionPrime)
connections:
mongodb: # is a hash of connection-primes (server-connection, database-connection or ...)
local:
label: \local
host: \127.0.0.1
port: 27017
allow-disk-use: true
timeout: 1000*60*10
mssql:
local:
server: ''
user: ''
password: ''
default-database: ''
postgresql:
local:
host: ''
port: ''
user: ''
password: ''
default-database: ''
mysql:
local:
host: ''
user: ''
password: ''
default-database: ''
# default-data-source-cue :: DataSourceCue
default-data-source-cue:
connection-kind: \pre-configured
query-type: \mongodb
connection-name: \local
database: \pipe
collection: \queries
complete: true
# the default transpilation language for the new query dialog
default-transpilation-language: \babel # other options: javascript, livescript
# query store
query-store:
name: \mongodb
mongodb:
connection-string: \mongodb://localhost:27017/queries
connection-options:
auto_reconnect: true
db:
w:1
server:
socket-options:
keep-alive: 1
# memory store
cache-store:
# select the store to use (in this case, js)
name: \js
# config for js store
js:
expires-in: 2 * 86400 # 2 days
# config for redis store
redis:
host: \localhost
port: 6379
database: 10
expires-in: 2 * 86400 # 2 days
# the js-store uses javascript object for caching & does not persist across application restarts
# cache-store:
# type: \js-store
# expires-in: 2 * 24 * 60 * 60 # = 2 days
http-port: 4081
# the client loads images from this server
snapshot-server: \http://localhost:4081
# client-side decor
project-title: \Pipe
# query-route related config properties
auto-execute: true
cache-query: false
prevent-reload: false
# gulp config
gulp:
minify: false
reload-port: 4082
# spy config
spy:
enabled: true
url: \http://localhost:3010/pipe
storage-details:
* {} <<< mongo-connection-opitons <<<
name: \mongo
connection-string: \mongodb://localhost:27017/pipe
insert-into:
collection: \events
...
# UI
github-ribbon: false