@@ -14,19 +14,42 @@ servestatic: false
14
14
# Valid options include: trace, debug, info, warn, error, critical, off.
15
15
debuglevel : " debug"
16
16
17
+ # Custom path to a config file.
18
+ configfile : " /path/to/your/aperture.yaml"
19
+
20
+ # Directory to place all of aperture's files in.
21
+ basedir : " /path/to/.aperture"
22
+
17
23
# Whether the proxy should create a valid certificate through Let's Encrypt for
18
24
# the fully qualifying domain name.
19
25
autocert : false
20
26
servername : aperture.example.com
21
27
28
+ # Whether to listen on an insecure connection, disabling TLS for incoming
29
+ # connections.
30
+ insecure : false
31
+
22
32
# Whether we should verify the invoice status strictly or not. If set to true,
23
33
# then this requires all invoices to be read from disk at start up.
24
34
strictverify : false
25
35
36
+ # The number of invoices to fetch in a single request when interacting with LND.
37
+ invoicebatchsize : 100000
38
+
26
39
# The port on which the pprof profile will be served. If no port is provided,
27
40
# the profile will not be served.
28
41
profile : 9999
29
42
43
+ # The maximum amount of time a connection may be idle before being closed.
44
+ # Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
45
+ idletimeout : 2m
46
+
47
+ # The maximum amount of time to wait for a request to be fully read.
48
+ readtimeout : 15s
49
+
50
+ # The maximum amount of time to wait for a response to be fully written.
51
+ writetimeout : 30s
52
+
30
53
# Settings for the lnd node used to generate payment requests. All of these
31
54
# options are required.
32
55
authenticator :
@@ -80,6 +103,9 @@ sqlite:
80
103
# The full path to the database.
81
104
dbfile : " /path/to/.aperture/aperture.db"
82
105
106
+ # Skip applying migrations on startup.
107
+ skipmigrations : false
108
+
83
109
# Settings for the postgres instance which the proxy will use to reliably store
84
110
# and retrieve token information.
85
111
postgres :
@@ -97,6 +123,9 @@ postgres:
97
123
# server.
98
124
requireSSL : true
99
125
126
+ # Skip applying migrations on startup.
127
+ skipmigrations : false
128
+
100
129
# Settings for the etcd instance which the proxy will use to reliably store and
101
130
# retrieve token information.
102
131
etcd :
@@ -228,6 +257,10 @@ hashmail:
228
257
enabled : true
229
258
messagerate : 20ms
230
259
messageburstallowance : 1000
260
+
261
+ # The time after the last activity that a mailbox should be removed.
262
+ # Set to -1s to disable. Valid time units are "ns", "us", "ms", "s", "m", "h".
263
+ staletimeout : -1s # Example: 5m for 5 minutes, or -1s to disable
231
264
232
265
# Enable the prometheus metrics exporter so that a prometheus server can scrape
233
266
# the metrics.
@@ -242,6 +275,14 @@ logging:
242
275
disable : false
243
276
callsite : off
244
277
notimestamps : true
278
+
279
+ # Log level for console output.
280
+ # Valid options include: trace, debug, info, warn, error, critical, off.
281
+ level : " info"
245
282
file :
246
283
disable : false
247
284
callsite : long
285
+
286
+ # Log level for file output.
287
+ # Valid options include: trace, debug, info, warn, error, critical, off.
288
+ level : " info"
0 commit comments