@@ -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 :
@@ -76,6 +99,9 @@ sqlite:
76
99
# The full path to the database.
77
100
dbfile : " /path/to/.aperture/aperture.db"
78
101
102
+ # Skip applying migrations on startup.
103
+ skipmigrations : false
104
+
79
105
# Settings for the postgres instance which the proxy will use to reliably store
80
106
# and retrieve token information.
81
107
postgres :
@@ -93,6 +119,9 @@ postgres:
93
119
# server.
94
120
requireSSL : true
95
121
122
+ # Skip applying migrations on startup.
123
+ skipmigrations : false
124
+
96
125
# Settings for the etcd instance which the proxy will use to reliably store and
97
126
# retrieve token information.
98
127
etcd :
@@ -213,6 +242,10 @@ hashmail:
213
242
enabled : true
214
243
messagerate : 20ms
215
244
messageburstallowance : 1000
245
+
246
+ # The time after the last activity that a mailbox should be removed.
247
+ # Set to -1s to disable. Valid time units are "ns", "us", "ms", "s", "m", "h".
248
+ staletimeout : -1s # Example: 5m for 5 minutes, or -1s to disable
216
249
217
250
# Enable the prometheus metrics exporter so that a prometheus server can scrape
218
251
# the metrics.
@@ -227,6 +260,14 @@ logging:
227
260
disable : false
228
261
callsite : off
229
262
notimestamps : true
263
+
264
+ # Log level for console output.
265
+ # Valid options include: trace, debug, info, warn, error, critical, off.
266
+ level : " info"
230
267
file :
231
268
disable : false
232
269
callsite : long
270
+
271
+ # Log level for file output.
272
+ # Valid options include: trace, debug, info, warn, error, critical, off.
273
+ level : " info"
0 commit comments