fixing dockerfile.local
[osm/NBI.git] / osm_nbi / nbi.cfg
1 [/]
2 # tools.secureheaders.on = True
3 tools.sessions.on = True
4 # increase security on sessions
5 tools.sessions.secure = True
6 tools.sessions.httponly = True
7 tools.encode.on: True,
8 tools.encode.encoding: 'utf-8'
9 tools.response_headers.on = True
10
11 # tools.auth_basic.on: True,
12 # tools.auth_basic.realm: 'localhost',
13 # tools.auth_basic.checkpassword: get_tokens
14
15
16 [/static]
17 tools.staticdir.on: True
18 tools.staticdir.dir: "/app/NBI/osm_nbi/html_public"
19
20
21 [global]
22 server.socket_host: "0.0.0.0"
23 server.socket_port: 9999
24
25 server.ssl_module: "builtin"
26 server.ssl_certificate: "./http/cert.pem"
27 server.ssl_private_key: "./http/privkey.pem"
28 server.ssl_pass_phrase: "osm4u"
29 server.thread_pool: 1
30
31 # Only for test. It works without authorization using the provided user and project:
32 # test.user_not_authorized: "admin"
33 # test.project_not_authorized: "admin"
34
35 # Uncomment for allow basic authentication apart from bearer
36 # auth.allow_basic_authentication: True
37
38 log.screen: False
39 log.access_file: ""
40 log.error_file: ""
41
42 log.level: "DEBUG"
43 #log.file: /var/log/osm/nbi.log
44
45
46 [database]
47 driver: "mongo"            # mongo or memory
48 host:   "mongo"            # hostname or IP
49 port: 27017
50 name: "osm"
51 # user: "user"
52 # password: "password"
53 # commonkey: "commonkey"
54
55 loglevel:  "DEBUG"
56 #logfile: /var/log/osm/nbi-database.log
57
58
59 [storage]
60 driver: "local"            # local filesystem
61 # for local provide file path
62 path: "/app/storage"       #"/home/atierno/OSM/osm/NBI/local/storage"
63
64 loglevel:  "DEBUG"
65 #logfile: /var/log/osm/nbi-storage.log
66
67 [message]
68 driver: "kafka"             # local or kafka
69 # for local provide file path
70 path: "/app/storage/kafka"
71 host: "kafka"
72 port: 9092
73
74 loglevel:  "DEBUG"
75 #logfile: /var/log/osm/nbi-message.log
76
77 [authentication]
78 backend: "internal"