-
Notifications
You must be signed in to change notification settings - Fork 0
/
restheart-cm.yaml
65 lines (53 loc) · 1.93 KB
/
restheart-cm.yaml
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
apiVersion: v1
kind: ConfigMap
metadata:
name: restheart-cm
data:
restheart.properties: |
# RESTHeart default Configuration properties
## See: https://restheart.org/docs/setup/#configuration-files
instance-name: default
## HTTP listener
http-listener = true
http-host = 0.0.0.0
http-port = 8080
## HTTPS listener
## To enable HTTPS, configure a certificate. See https://restheart.org/docs/security/tls/
https-listener = false
https-host = 0.0.0.0
https-port = 4443
## AJP listener
ajp-listener = false
ajp-host = 0.0.0.0
ajp-port = 8009
## MongoDB Connection String
### For URI Formats visit https://docs.mongodb.com/manual/reference/connection-string/.
mongo-uri = mongodb://127.0.0.1
## security properties
### fileRealmAuthenticator userbase
### the path is either absolute or relative to configuration file (usually, restheart.yml)
users-conf-file=./users.yml
### fileRealmAuthenticator ACL
### the path is either absolute or relative to configuration file (usually, restheart.yml)
acl-conf-file=./acl.yml
### The directory containing the plugins (JAR files).
#### The path is either absolute (starts with /) or relative to the restheart.jar file
plugins-directory = plugins
## logging properties
enable-log-console = true
log-level = INFO
enable-log-file = false
### with --fork use an absoulte path of a writable file
### For example, on MacOS /usr/local/var/log/restheart.log usually works
log-file-path = restheart.log
## MongoDB service properties
### The MongoDB resource to bind to the root URI /
### The format is /db[/coll[/docid]] or '*' to expose all dbs
root-mongo-resource = /restheart
## performance properties
query-time-limit = 0
aggregation-time-limit = 0
### suggested value: core*2
io-threads = 4
####suggested value: core*16
worker-threads = 16