forked from decred/dcrdata
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample-dcrdata.conf
49 lines (38 loc) · 1.32 KB
/
sample-dcrdata.conf
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
[Application Options]
; Set the logging verbosity level
;debuglevel=debug
;debuglevel=DATD=debug,DSQL=debug,MEMP=debug,DCRD=info,RPCC=info,JAPI=debug
; Authentication information for dcrd RPC (must set, no default)
;dcrduser=duser
;dcrdpass=asdfExample
; Decred network (default is mainnet)
; testnet=1
; simnet=1
; Connect to dcrd at localhost using the default port for the specified network.
;dcrdserv=localhost
; Connect using the specified port.
;dcrdserv=localhost:9109
; Specify dcrd's RPC certificate, or disable TLS for the connection
;dcrdcert=/home/me/.dcrd/rpc.cert
;nodaemontls=0
; The interface and protocol used by the web interface an HTTP API.
;apilisten=127.0.0.1:7777
; apiproto=http
; The string to use for JSON indentation when ?indent=true
;indentjson=" "
; Use the RealIP middleware to get the real client IP, but only if a reverse
; proxy or load balancer is correctly setting the X-Forwarded-For and/or
; X-Real-Ip headers. (Default is false.)
;userealip=true
; Set "Cache-Control: max-age=X" in HTTP response header for FileServer routes
;cachecontrol-maxage=86400
; enable postgresql support, more features available when used
;pg=false
; PostgreSQL database config
;pgdbname=dcrdata
;pguser=dcrdata
;pgpass=
; Connect via TCP
;pghost=127.0.0.1:5432
; Connect via UNIX domain socket
;pghost=/run/postgresql