Created
May 20, 2022 20:59
-
-
Save luissquall/6fc3990db31f7cbc8c3a6f2ec056298e to your computer and use it in GitHub Desktop.
RESTHeart default Configuration properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RESTHeart default Configuration properties | |
## See: https://restheart.org/docs/configuration/ | |
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 = 2 | |
####suggested value: core*16 | |
worker-threads = 16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment