1- # This is the main configuration file for the application.
2- # ~~~~~
3-
4- # Secret key
5- # ~~~~~
6- # The secret key is used to secure cryptographics functions.
7- # If you deploy your application to several instances be sure to use the same key!
8- application.secret = " ${CEREBRO_SECRET}"
9-
10- # The application languages
11- # ~~~~~
12- application.langs = " en"
13-
1+ # Secret will be used to sign session cookies, CSRF tokens and for other encryption utilities.
2+ # It is highly recommended to change this value before running cerebro in production.
3+ secret = " ${CEREBRO_SECRET}"
4+
5+ # Application base path
6+ basePath = " ${SERVER_BASEPATH}"
7+
8+ # Defaults to RUNNING_PID at the root directory of the app.
9+ # To avoid creating a PID file set this value to /dev/null
10+ #pidfile.path = " /var/run/cerebro.pid"
11+
12+ # Rest request history max size per user
13+ rest.history.size = 50 // defaults to 50 if not specified
14+
15+ # Path of local database file
16+ data.path = " ./cerebro.db"
17+
18+ # Authentication
19+ auth = {
20+ # Example of LDAP authentication
21+ #type: ldap
22+ #settings: {
23+ #url = " ldap://host:port"
24+ #base-dn = " ou=active,ou=Employee"
25+ #method = " simple"
26+ #user-domain = " domain.com"
27+ #}
28+ # Example of simple username/password authentication
29+ #type: basic
30+ #settings: {
31+ #username = " admin"
32+ #password = " 1234"
33+ #}
34+ }
35+
36+ # A list of known hosts
1437hosts = [
1538 #{
16- # host = " http://some-authenticated-host:9200" ,
39+ # host = " http://localhost:9200"
40+ # name = " Some Cluster"
41+ #},
42+ # Example of host with authentication
43+ #{
44+ # host = " http://some-authenticated-host:9200"
45+ # name = " Secured Cluster"
1746 # auth = {
1847 # username = " username"
1948 # password = " secret-password"
@@ -23,17 +52,3 @@ hosts = [
2352 host = " ${ELASTICSEARCH_URL}"
2453 }
2554]
26-
27- # Logger
28- # ~~~~~
29- # You can also configure logback (http://logback.qos.ch /), by providing a logger.xml file in the conf directory .
30-
31- # Root logger:
32- logger.root = ERROR
33-
34- # Logger used by the framework:
35- logger.play = INFO
36-
37- # Logger provided to your application:
38- logger.application = DEBUG
39-
0 commit comments